COMPASSACCELERO_IO_Read() function
Reads a block of data from the COMPASS / ACCELERO.
Arguments
DeviceAddr
the slave address to be programmed(ACC_I2C_ADDRESS or MAG_I2C_ADDRESS).
RegisterAddr
the COMPASS / ACCELERO internal address register to read from
Return value
COMPASS / ACCELERO register value
Examples
COMPASSACCELERO_IO_Read() is referenced by 2 libraries and example projects: