Lines Matching refs:addr
41 LmnStatus_t MMA8451Write( uint8_t addr, uint8_t data );
51 LmnStatus_t MMA8451WriteBuffer( uint8_t addr, uint8_t *data, uint8_t size );
60 LmnStatus_t MMA8451Read( uint8_t addr, uint8_t *data );
70 LmnStatus_t MMA8451ReadBuffer( uint8_t addr, uint8_t *data, uint8_t size );
77 void MMA8451SetDeviceAddr( uint8_t addr );
121 LmnStatus_t MMA8451Write( uint8_t addr, uint8_t data ) in MMA8451Write() argument
123 return MMA8451WriteBuffer( addr, &data, 1 ); in MMA8451Write()
126 LmnStatus_t MMA8451WriteBuffer( uint8_t addr, uint8_t *data, uint8_t size ) in MMA8451WriteBuffer() argument
128 return I2cWriteMemBuffer( &I2c, I2cDeviceAddr << 1, addr, data, size ); in MMA8451WriteBuffer()
131 LmnStatus_t MMA8451Read( uint8_t addr, uint8_t *data ) in MMA8451Read() argument
133 return MMA8451ReadBuffer( addr, data, 1 ); in MMA8451Read()
136 LmnStatus_t MMA8451ReadBuffer( uint8_t addr, uint8_t *data, uint8_t size ) in MMA8451ReadBuffer() argument
138 return I2cReadMemBuffer( &I2c, I2cDeviceAddr << 1, addr, data, size ); in MMA8451ReadBuffer()
141 void MMA8451SetDeviceAddr( uint8_t addr ) in MMA8451SetDeviceAddr() argument
143 I2cDeviceAddr = addr; in MMA8451SetDeviceAddr()