|
enum | cy_en_canfd_status_t {
CY_CANFD_SUCCESS = 0x00U,
CY_CANFD_BAD_PARAM = CY_CANFD_ID | CY_PDL_STATUS_ERROR | 0x01u,
CY_CANFD_ERROR_TIMEOUT = CY_CANFD_ID | CY_PDL_STATUS_ERROR | 0x02u
} |
| CAN FD status enumeration. More...
|
|
enum | cy_en_canfd_tx_buffer_status_t {
CY_CANFD_TX_BUFFER_IDLE = 0u,
CY_CANFD_TX_BUFFER_PENDING = 1u,
CY_CANFD_TX_BUFFER_TRANSMIT_OCCURRED = 2u,
CY_CANFD_TX_BUFFER_CANCEL_REQUESTED = 3u,
CY_CANFD_TX_BUFFER_CANCEL_FINISHED = 4u
} |
| CAN FD Tx Buffer status enumeration. More...
|
|
enum | cy_en_canfd_buffer_data_size_t {
CY_CANFD_BUFFER_DATA_SIZE_8 = 0u,
CY_CANFD_BUFFER_DATA_SIZE_12 = 1u,
CY_CANFD_BUFFER_DATA_SIZE_16 = 2u,
CY_CANFD_BUFFER_DATA_SIZE_20 = 3u,
CY_CANFD_BUFFER_DATA_SIZE_24 = 4u,
CY_CANFD_BUFFER_DATA_SIZE_32 = 5u,
CY_CANFD_BUFFER_DATA_SIZE_48 = 6u,
CY_CANFD_BUFFER_DATA_SIZE_64 = 7u
} |
| CAN FD Tx/Rx buffer element size. More...
|
|
enum | cy_en_canfd_fifo_mode_t {
CY_CANFD_FIFO_MODE_BLOCKING = 0u,
CY_CANFD_FIFO_MODE_OVERWRITE = 1u
} |
| CAN FD Rx FIFO operating mode. More...
|
|
enum | cy_en_accept_non_matching_frames_t {
CY_CANFD_ACCEPT_IN_RXFIFO_0 = 0u,
CY_CANFD_ACCEPT_IN_RXFIFO_1 = 1u,
CY_CANFD_REJECT_NON_MATCHING = 2u
} |
| CAN FD accept non matching frames. More...
|
|
enum | cy_en_canfd_id_filter_element_config_t {
CY_CANFD_ID_FILTER_ELEMNT_CONFIG_DISABLE_FILETER_ELEMENT = 0x00u,
CY_CANFD_ID_FILTER_ELEMNT_CONFIG_STORE_RXFIFO0 = 0x01u,
CY_CANFD_ID_FILTER_ELEMNT_CONFIG_STORE_RXFIFO1 = 0x02u,
CY_CANFD_ID_FILTER_ELEMNT_CONFIG_REJECT_ID = 0x03u,
CY_CANFD_ID_FILTER_ELEMNT_CONFIG_SET_PRIORIY = 0x04u,
CY_CANFD_ID_FILTER_ELEMNT_CONFIG_SET_PIORITY_STORE_RXFIFO0 = 0x05u,
CY_CANFD_ID_FILTER_ELEMNT_CONFIG_SET_PIORITY_STORE_RXFIFO1 = 0x06u,
CY_CANFD_ID_FILTER_ELEMNT_CONFIG_STORE_RXBUFF_OR_DEBUGMSG = 0x07u
} |
| ID Filter element configuration type. More...
|
|
enum | cy_en_canfd_std_id_filter_type_t {
CY_CANFD_STD_ID_FILTER_TYPE_RANGE = 0x00u,
CY_CANFD_STD_ID_FILTER_TYPE_DUAL = 0x01u,
CY_CANFD_STD_ID_FILTER_TYPE_CLASSIC = 0x02u
} |
| Standard ID filter type. More...
|
|
enum | cy_en_canfd_ext_id_filter_type_t {
CY_CANFD_EXT_ID_FILTER_TYPE_RANGE_AND_MASK = 0x00u,
CY_CANFD_EXT_ID_FILTER_TYPE_DUAL = 0x01u,
CY_CANFD_EXT_ID_FILTER_TYPE_CLASSIC = 0x02u,
CY_CANFD_EXT_ID_FILTER_TYPE_RANGE = 0x03u
} |
| Extended ID filter type. More...
|
|
enum | cy_en_canfd_rtr_t {
CY_CANFD_RTR_DATA_FRAME = 0x00u,
CY_CANFD_RTR_REMOTE_FRAME = 0x01u
} |
| Type for indication of the received frame (Remote Transmission Request) More...
|
|
enum | cy_en_canfd_xtd_t {
CY_CANFD_XTD_STANDARD_ID = 0x00u,
CY_CANFD_XTD_EXTENDED_ID = 0x01u
} |
| Extended Identifier type (whether the received frame has a standard or extended identifier) More...
|
|
enum | cy_en_canfd_esi_t {
CY_CANFD_ESI_ERROR_ACTIVE = 0x00u,
CY_CANFD_ESI_ERROR_PASSIVE = 0x01u
} |
| Error State Indicator type. More...
|
|
enum | cy_en_canfd_fdf_t {
CY_CANFD_FDF_STANDARD_FRAME = 0x00u,
CY_CANFD_FDF_CAN_FD_FRAME = 0x01u
} |
| FD Format type. More...
|
|
enum | cy_en_canfd_anmf_t {
CY_CANFD_ANMF_MATCH_FILTER = 0x00u,
CY_CANFD_ANMF_NOT_MATCH_FILTER = 0x01u
} |
| Accepted Non-matching Frame type. More...
|
|
enum | cy_en_canfd_sfec_t {
CY_CANFD_SFEC_DISABLE = 0x00u,
CY_CANFD_SFEC_STORE_RX_FIFO_0 = 0x01u,
CY_CANFD_SFEC_STORE_RX_FIFO_1 = 0x02u,
CY_CANFD_SFEC_REJECT_ID = 0x03u,
CY_CANFD_SFEC_SET_PRIORITY = 0x04u,
CY_CANFD_SFEC_SET_PRIORITY_STORE_FIFO_0 = 0x05u,
CY_CANFD_SFEC_SET_PRIORITY_STORE_FIFO_1 = 0x06u,
CY_CANFD_SFEC_STORE_RX_BUFFER = 0x07u
} |
| Standard Filter Element Configuration type. More...
|
|
enum | cy_en_canfd_sft_t {
CY_CANFD_SFT_RANGE_SFID1_SFID2 = 0x00u,
CY_CANFD_SFT_DUAL_ID = 0x01u,
CY_CANFD_SFT_CLASSIC_FILTER = 0x02u,
CY_CANFD_SFT_DISABLED = 0x03u
} |
| Standard Filter Type. More...
|
|
enum | cy_en_canfd_efec_t {
CY_CANFD_EFEC_DISABLE = 0x00u,
CY_CANFD_EFEC_STORE_RX_FIFO_0 = 0x01u,
CY_CANFD_EFEC_STORE_RX_FIFO_1 = 0x02u,
CY_CANFD_EFEC_REJECT_ID = 0x03u,
CY_CANFD_EFEC_SET_PRIORITY = 0x04u,
CY_CANFD_EFEC_SET_PRIORITY_STORE_FIFO_0 = 0x05u,
CY_CANFD_EFEC_SET_PRIORITY_STORE_FIFO_1 = 0x06u,
CY_CANFD_EFEC_STORE_RX_BUFFER = 0x07u
} |
| Extended Filter Element Configuration type. More...
|
|
enum | cy_en_canfd_eft_t {
CY_CANFD_EFT_RANGE_EFID1_EFID2 = 0x00u,
CY_CANFD_EFT_DUAL_ID = 0x01u,
CY_CANFD_EFT_CLASSIC_FILTER = 0x02u,
CY_CANFD_EFT_RANGE_EFID1_EFID2_NO_MSK = 0x03u
} |
| Extended Filter Type. More...
|
|
enum | cy_stc_canfd_test_mode_t {
CY_CANFD_TEST_MODE_DISABLE = 0x00u,
CY_CANFD_TEST_MODE_BUS_MONITORING = 0x01u,
CY_CANFD_TEST_MODE_EXTERNAL_LOOP_BACK = 0x02u,
CY_CANFD_TEST_MODE_INTERNAL_LOOP_BACK = 0x03u
} |
| Test Mode Type. More...
|
|
enum | cy_en_canfd_LEC_t {
CY_CANFD_LEC_NO_ERROR = 0x00u,
CY_CANFD_LEC_STUFF_ERROR = 0x01u,
CY_CANFD_LEC_FORM_ERROR = 0x02u,
CY_CANFD_LEC_ACK_ERROR = 0x03u,
CY_CANFD_LEC_BIT1_ERROR = 0x04u,
CY_CANFD_LEC_BIT0_ERROR = 0x05u,
CY_CANFD_LEC_CRC_ERROR = 0x06u,
CY_CANFD_LEC_NO_CHANGE = 0x07u
} |
| Last Error Code and Data Phase Last Error Code Type. More...
|
|
enum | cy_en_canfd_PSR_ACT_t {
CY_CANFD_PSR_ACT_SYNC = 0x00u,
CY_CANFD_PSR_ACT_IDLE = 0x01u,
CY_CANFD_PSR_ACT_RX = 0x02u,
CY_CANFD_PSR_ACT_TX = 0x03u
} |
| Bus Activity State field of the PSR Used with Cy_CANFD_GetLastError() for ACT field of the Protocol Status Register. More...
|
|