4.2.1.6 i2c_readDataBlock
Function to read block of data from a register location.
void i2c_readDataBlock(
i2c2_address_t address, uint8_t reg, void * data, size_t len
)
Parameters
- address
-
Type: i2c2_address_t
[type]i2c_address_t Slave address [in] reg [type]uint8_t The register address to be read [out] data [type]void* The read data block [in] len [type]size_t The size of data block
Returns
Type: void
None