WPILibC++ 2024.3.2
|
Go to the source code of this file.
Functions | |
void | HAL_InitializeI2C (HAL_I2CPort port, int32_t *status) |
Initializes the I2C port. More... | |
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. More... | |
int32_t | HAL_WriteI2C (HAL_I2CPort port, int32_t deviceAddress, const uint8_t *dataToSend, int32_t sendSize) |
Executes a write transaction with the device. More... | |
int32_t | HAL_ReadI2C (HAL_I2CPort port, int32_t deviceAddress, uint8_t *buffer, int32_t count) |
Executes a read transaction with the device. More... | |
void | HAL_CloseI2C (HAL_I2CPort port) |
Closes an I2C port. More... | |