This section describes the CAN FD Macros.
These Macros can be used to check the interrupt and status flags. Detailed information about the macros is available in each macro description.
API Reference | |
RX Interrupt masks | |
This section contains interrupt bit masks to be used with: | |
TX Interrupt masks | |
This section contains interrupt bit masks to use with: | |
Error Interrupt masks | |
This section contains interrupt bit masks to be used with: | |
Interrupt line selection masks | |
Interrupt line selection masks. | |
Protocol Status Register (PSR) masks | |
Masks and bit positions of the Protocol Status Register (PSR) fields. | |
Macros | |
#define | CY_CANFD_DRV_VERSION_MAJOR 1U |
Driver major version. | |
#define | CY_CANFD_DRV_VERSION_MINOR 40U |
Driver minor version. | |
#define | CY_CANFD_ID CY_PDL_DRV_ID(0x45U) |
CAN FD driver ID. | |
#define | CY_CANFD_MESSAGE_DATA_BUFFER_SIZE (16U) |
Size of word data bytes in a receive or transmit operation (16word = 64byte) | |
#define | CY_CANFD_RX_FIFO0 (0U) |
FIFO number 0. | |
#define | CY_CANFD_RX_FIFO1 (1U) |
FIFO number 1. | |