24 # define _AVRIO_CAN_H_ 26 # include <avrio/defs.h> 157 void vCanSetFilter (uint8_t * pucAcceptanceCode, uint8_t * pucAcceptanceMask);
214 # if defined(__DOXYGEN__)
eCanError eCanSendFrame(const xCanFrame *pxFrame)
Write a frame from to output buffer.
eCanSpeed
Vitesse bus CAN Baud.
eCanError eCanInit(eCanSpecification eType)
Initialize CAN interface.
eCanError eCanTrySendFrame(const xCanFrame *pxFrame)
Transmission non bloquante d'une trame.
void vCanSetFilter(uint8_t *pucAcceptanceCode, uint8_t *pucAcceptanceMask)
Sets the acceptance code and mask.
eCanError eCanTryReceiveFrame(xCanFrame *pxFrame)
Réception non bloquante d'une trame.
void vCanSetRxTimeout(uint16_t usTimeout)
Sets the CAN receive timeout.
eCanError
Codes d'erreur.
eCanError eCanSetSpeed(eCanSpeed eBaudrate)
Sets the CAN baud rate.
uint8_t ucCanRxAvail(void)
Checks if data is available in input buffer.
eCanError eCanReceiveFrame(xCanFrame *pxFrame)
Reads a frame from input buffer.
eCanSpecification
Version de bus CAN.
bool xCanTxFree(void)
Checks if there's still space in output buffer.