Download SUSI Library Reference

Transcript
Susi Library Reference
SusiSMBusWriteByte
Write a byte of data to the target slave device in the SMBus.
BOOL SusiSMBusWriteByte(BYTE SlaveAddress, BYTE
RegisterOffset, BYTE Result)
Parameters
SlaveAddress
[in]
Specifies the 8-bit device address, ranging from 0x00 – 0xFF.
Whether to give a 1 (read) or 0 (write) to the LSB of SlaveAddress
could be ignored.
RegisterOffset
[in]
Specifies the offset of the device register to write data to.
Result
[in]
Specifies the byte data to be written .
Return Value
TRUE (1) indicates success; FALSE (0) indicates failure.
Remarks
For more information about how to use this API, please refer to “Programming
Overview”, part “SMBus functions”.
76 of 107