![]() |
WPILibC++ 2025.3.2
|
Go to the source code of this file.
Functions | |
| void | HAL_InitializeI2C (HAL_I2CPort port, int32_t *status) |
| Initializes the I2C port. | |
| 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. | |
| 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_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. | |