Lines Matching refs:addr
57 LmnStatus_t MPL3115Write( uint8_t addr, uint8_t data );
67 LmnStatus_t MPL3115WriteBuffer( uint8_t addr, uint8_t *data, uint8_t size );
76 LmnStatus_t MPL3115Read( uint8_t addr, uint8_t *data );
86 LmnStatus_t MPL3115ReadBuffer( uint8_t addr, uint8_t *data, uint8_t size );
93 void MPL3115SetDeviceAddr( uint8_t addr );
164 LmnStatus_t MPL3115Write( uint8_t addr, uint8_t data ) in MPL3115Write() argument
166 return MPL3115WriteBuffer( addr, &data, 1 ); in MPL3115Write()
169 LmnStatus_t MPL3115WriteBuffer( uint8_t addr, uint8_t *data, uint8_t size ) in MPL3115WriteBuffer() argument
171 return I2cWriteMemBuffer( &I2c, I2cDeviceAddr << 1, addr, data, size ); in MPL3115WriteBuffer()
174 LmnStatus_t MPL3115Read( uint8_t addr, uint8_t *data ) in MPL3115Read() argument
176 return MPL3115ReadBuffer( addr, data, 1 ); in MPL3115Read()
179 LmnStatus_t MPL3115ReadBuffer( uint8_t addr, uint8_t *data, uint8_t size ) in MPL3115ReadBuffer() argument
181 return I2cReadMemBuffer( &I2c, I2cDeviceAddr << 1, addr, data, size ); in MPL3115ReadBuffer()
184 void MPL3115SetDeviceAddr( uint8_t addr ) in MPL3115SetDeviceAddr() argument
186 I2cDeviceAddr = addr; in MPL3115SetDeviceAddr()