1.1.1.3 mtch2120_readFromMemory
MTCH2120_I2C_Status mtch2120_readFromMemory(uint16_t memoryAddress, uint8_t *buffer, uint8_t length);
Description:
This function reads data from the MTCH2120 device memory via the I2C peripheral, according to the specified length.
Parameters:
Field | Type | Description |
---|---|---|
memoryAddress | uint16_t | Address of the memory location |
buffer | uint8_t * | Buffer to store the read value |
length | uint8_t | Number of bytes to read |