66 int32_t length, int32_t apiId, int32_t* status);
83 int32_t length, int32_t apiId,
84 int32_t repeatMs, int32_t* status);
128 int32_t* length, uint64_t* receivedTimestamp,
144 int32_t* length, uint64_t* receivedTimestamp,
162 uint8_t* data, int32_t* length,
163 uint64_t* receivedTimestamp, int32_t timeoutMs,
HAL_CANHandle HAL_InitializeCAN(HAL_CANManufacturer manufacturer, int32_t deviceId, HAL_CANDeviceType deviceType, int32_t *status)
Initializes a CAN device.
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_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_CleanCAN(HAL_CANHandle handle)
Frees 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.
uint32_t HAL_GetCANPacketBaseTime(void)
Reads the current value of the millisecond-resolution timer that the CAN API functions use as a time ...
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_CANDeviceType
The CAN device type.
Definition: CANAPITypes.h:22
HAL_CANManufacturer
The CAN manufacturer ID.
Definition: CANAPITypes.h:56
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.
HAL_Handle HAL_CANHandle
Definition: Types.h:51