12 #include "hal/CANAPITypes.h"
13 #include "hal/Types.h"
36 int32_t deviceId, HAL_CANDeviceType deviceType,
57 int32_t length, int32_t apiId, int32_t* status);
73 int32_t length, int32_t apiId,
74 int32_t repeatMs, int32_t* status);
115 int32_t* length, uint64_t* receivedTimestamp,
130 int32_t* length, uint64_t* receivedTimestamp,
147 uint8_t* data, int32_t* length,
148 uint64_t* receivedTimestamp, int32_t timeoutMs,
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.
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.
void HAL_StopCANPacketRepeating(HAL_CANHandle handle, int32_t apiId, int32_t *status)
Stops a repeating packet with a specific ID.
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.
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.
void HAL_CleanCAN(HAL_CANHandle handle)
Frees a CAN device.
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.
HAL_CANHandle HAL_InitializeCAN(HAL_CANManufacturer manufacturer, int32_t deviceId, HAL_CANDeviceType deviceType, int32_t *status)
Initializes a CAN device.
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.