48 const uint8_t* dataToSend, int32_t sendSize,
49 uint8_t* dataReceived, int32_t receiveSize);
65 const uint8_t* dataToSend, int32_t sendSize);
HAL_I2CPort
Definition: I2CTypes.h:17
void HAL_InitializeI2C(HAL_I2CPort port, int32_t *status)
Initializes the I2C port.
int32_t HAL_ReadI2C(HAL_I2CPort port, int32_t deviceAddress, uint8_t *buffer, int32_t count)
Executes a read transaction with the device.
void HAL_CloseI2C(HAL_I2CPort port)
Closes an I2C port.
int32_t HAL_WriteI2C(HAL_I2CPort port, int32_t deviceAddress, const uint8_t *dataToSend, int32_t sendSize)
Executes a write transaction with the device.
int32_t HAL_TransactionI2C(HAL_I2CPort port, int32_t deviceAddress, const uint8_t *dataToSend, int32_t sendSize, uint8_t *dataReceived, int32_t receiveSize)
Generic I2C read/write transaction.
constexpr auto count() -> size_t
Definition: core.h:1203