4.2.1.3 i2c_read1ByteRegister
Function to read 1 byte of data from a register location.
uint8_t i2c_read1ByteRegister(
i2c2_address_t address, uint8_t reg
)
Parameters
- address
-
Type: i2c2_address_t
[type]i2c_address_t Slave address [in] reg [type]uint8_t The register address to be read
Returns
Type: uint8_t
[out] The read data byte
