Lines Matching refs:addr
58 LmnStatus_t MPL3115Write( uint8_t addr, uint8_t data );
69 LmnStatus_t MPL3115WriteBuffer( uint8_t addr, uint8_t *data, uint8_t size );
79 LmnStatus_t MPL3115Read( uint8_t addr, uint8_t *data );
90 LmnStatus_t MPL3115ReadBuffer( uint8_t addr, uint8_t *data, uint8_t size );
97 void MPL3115SetDeviceAddr( uint8_t addr );
168 LmnStatus_t MPL3115Write( uint8_t addr, uint8_t data ) in MPL3115Write() argument
170 return MPL3115WriteBuffer( addr, &data, 1 ); in MPL3115Write()
173 LmnStatus_t MPL3115WriteBuffer( uint8_t addr, uint8_t *data, uint8_t size ) in MPL3115WriteBuffer() argument
175 return I2cWriteMemBuffer( &I2c, I2cDeviceAddr << 1, addr, data, size ); in MPL3115WriteBuffer()
178 LmnStatus_t MPL3115Read( uint8_t addr, uint8_t *data ) in MPL3115Read() argument
180 return MPL3115ReadBuffer( addr, data, 1 ); in MPL3115Read()
183 LmnStatus_t MPL3115ReadBuffer( uint8_t addr, uint8_t *data, uint8_t size ) in MPL3115ReadBuffer() argument
185 return I2cReadMemBuffer( &I2c, I2cDeviceAddr << 1, addr, data, size ); in MPL3115ReadBuffer()
188 void MPL3115SetDeviceAddr( uint8_t addr ) in MPL3115SetDeviceAddr() argument
190 I2cDeviceAddr = addr; in MPL3115SetDeviceAddr()