12 enum HAL_I2CPort : int32_t { HAL_I2C_kOnboard = 0, HAL_I2C_kMXP };
18 void HAL_InitializeI2C(HAL_I2CPort port, int32_t* status);
19 int32_t HAL_TransactionI2C(HAL_I2CPort port, int32_t deviceAddress,
20 uint8_t* dataToSend, int32_t sendSize,
21 uint8_t* dataReceived, int32_t receiveSize);
22 int32_t HAL_WriteI2C(HAL_I2CPort port, int32_t deviceAddress,
23 uint8_t* dataToSend, int32_t sendSize);
24 int32_t HAL_ReadI2C(HAL_I2CPort port, int32_t deviceAddress, uint8_t* buffer,
26 void HAL_CloseI2C(HAL_I2CPort port);