10 #include "SensorBase.h"
27 bool Transaction(uint8_t *dataToSend, uint8_t sendSize, uint8_t *dataReceived, uint8_t receiveSize);
29 bool Write(uint8_t registerAddress, uint8_t data);
30 bool Read(uint8_t registerAddress, uint8_t count, uint8_t *data);
31 void Broadcast(uint8_t registerAddress, uint8_t data);
34 bool VerifySensor(uint8_t registerAddress, uint8_t count,
const uint8_t *expected);
36 static SEM_ID m_semaphore;
37 static uint32_t m_objCount;
42 uint8_t m_deviceAddress;
43 bool m_compatibilityMode;
bool Write(uint8_t registerAddress, uint8_t data)
Definition: I2C.cpp:140
virtual ~I2C()
Definition: I2C.cpp:40
void SetCompatibilityMode(bool enable)
Definition: I2C.cpp:197
bool Transaction(uint8_t *dataToSend, uint8_t sendSize, uint8_t *dataReceived, uint8_t receiveSize)
Definition: I2C.cpp:61
Definition: SensorBase.h:20
bool VerifySensor(uint8_t registerAddress, uint8_t count, const uint8_t *expected)
Definition: I2C.cpp:219
bool AddressOnly()
Definition: I2C.cpp:125
void Broadcast(uint8_t registerAddress, uint8_t data)
Definition: I2C.cpp:185
bool Read(uint8_t registerAddress, uint8_t count, uint8_t *data)
Definition: I2C.cpp:161
Definition: DigitalModule.h:17