WPILibC++ 2024.3.2
|
Go to the source code of this file.
Functions | |
uint32_t | HAL_GetCANPacketBaseTime (void) |
Reads the current value of the millisecond-resolution timer that the CAN API functions use as a time base. More... | |
HAL_CANHandle | HAL_InitializeCAN (HAL_CANManufacturer manufacturer, int32_t deviceId, HAL_CANDeviceType deviceType, int32_t *status) |
Initializes a CAN device. More... | |
void | HAL_CleanCAN (HAL_CANHandle handle) |
Frees a CAN device. More... | |
void | HAL_WriteCANPacket (HAL_CANHandle handle, const uint8_t *data, int32_t length, int32_t apiId, int32_t *status) |
Writes a packet to the CAN device with a specific ID. More... | |
void | HAL_WriteCANPacketRepeating (HAL_CANHandle handle, const uint8_t *data, int32_t length, int32_t apiId, int32_t repeatMs, int32_t *status) |
Writes a repeating packet to the CAN device with a specific ID. More... | |
void | HAL_WriteCANRTRFrame (HAL_CANHandle handle, int32_t length, int32_t apiId, int32_t *status) |
Writes an RTR frame of the specified length to the CAN device with the specific ID. More... | |
void | HAL_StopCANPacketRepeating (HAL_CANHandle handle, int32_t apiId, int32_t *status) |
Stops a repeating packet with a specific ID. More... | |
void | HAL_ReadCANPacketNew (HAL_CANHandle handle, int32_t apiId, uint8_t *data, int32_t *length, uint64_t *receivedTimestamp, int32_t *status) |
Reads a new CAN packet. More... | |
void | HAL_ReadCANPacketLatest (HAL_CANHandle handle, int32_t apiId, uint8_t *data, int32_t *length, uint64_t *receivedTimestamp, int32_t *status) |
Reads a CAN packet. More... | |
void | HAL_ReadCANPacketTimeout (HAL_CANHandle handle, int32_t apiId, uint8_t *data, int32_t *length, uint64_t *receivedTimestamp, int32_t timeoutMs, int32_t *status) |
Reads a CAN packet. More... | |