MTB CAT1 Peripheral driver library

General Description

Data Structures

struct  cy_stc_canfd_r0_t
 R0 register. More...
 
struct  cy_stc_canfd_r1_t
 R1 register. More...
 
struct  cy_stc_canfd_rx_buffer_t
 Rx buffer. More...
 
struct  cy_stc_canfd_t0_t
 T0 register. More...
 
struct  cy_stc_canfd_t1_t
 T1 register. More...
 
struct  cy_stc_canfd_tx_buffer_t
 Tx buffer register. More...
 
struct  cy_stc_id_filter_t
 Message ID filter register. More...
 
struct  cy_stc_canfd_f0_t
 F0 register. More...
 
struct  cy_stc_canfd_f1_t
 F1 register. More...
 
struct  cy_stc_extid_filter_t
 Extended message ID filter register. More...
 
struct  cy_stc_canfd_bitrate_t
 CAN FD bitrate. More...
 
struct  cy_stc_canfd_transceiver_delay_compensation_t
 CAN FD transceiver delay compensation offset configuration. More...
 
struct  cy_stc_canfd_sid_filter_config_t
 Standard ID filter configuration. More...
 
struct  cy_stc_canfd_extid_filter_config_t
 Extended ID filter configuration. More...
 
struct  cy_stc_canfd_global_filter_config_t
 Global filter configuration. More...
 
struct  cy_en_canfd_fifo_config_t
 Rx FIFO configuration. More...
 
struct  cy_stc_canfd_config_t
 CAN FD configuration. More...
 
struct  cy_stc_canfd_interrupt_handling_t
 CAN FD interrupt pointer structure. More...
 
struct  cy_stc_canfd_context_t
 Context structure. More...
 

Typedefs

typedef void(* cy_canfd_tx_msg_func_ptr_t) (void)
 Message transmission complete callback function (cy_canfd_tx_msg_func_ptr_t). More...
 
typedef void(* cy_canfd_rx_msg_func_ptr_t) (bool rxFIFOMsg, uint8_t msgBufOrRxFIFONum, cy_stc_canfd_rx_buffer_t *basemsg)
 The message reception callback function for message received in the dedicated Rx Buffer or in Rx FIFO (cy_canfd_rx_msg_func_ptr_t) More...
 
typedef void(* cy_canfd_error_func_ptr_t) (uint32_t errorMask)
 The error callback function (cy_canfd_error_func_ptr_t). More...
 

Typedef Documentation

◆ cy_canfd_tx_msg_func_ptr_t

typedef void(* cy_canfd_tx_msg_func_ptr_t) (void)

Message transmission complete callback function (cy_canfd_tx_msg_func_ptr_t).

Signals a successful completed transmission. Triggered with CY_CANFD_TRANSMISSION_COMPLETE interrupt event

◆ cy_canfd_rx_msg_func_ptr_t

typedef void(* cy_canfd_rx_msg_func_ptr_t) (bool rxFIFOMsg, uint8_t msgBufOrRxFIFONum, cy_stc_canfd_rx_buffer_t *basemsg)

The message reception callback function for message received in the dedicated Rx Buffer or in Rx FIFO (cy_canfd_rx_msg_func_ptr_t)

Signals that CAN FD has received a new message.

  • If message was received in the dedicated Rx Buffer (0 - 63), rxFIFOMsg is False and u8MsgBufOrFIFONum indicates the Rx Buffer number.
  • If message was received in Rx FIFO (0/1), rxFIFOMsg is True and u8MsgBufOrFIFONum indicates the FIFO number.

Triggered with corresponding
CY_CANFD_RX_BUFFER_NEW_MESSAGE
CY_CANFD_RX_FIFO_0_NEW_MESSAGE
CY_CANFD_RX_FIFO_1_NEW_MESSAGE
interrupt events.

◆ cy_canfd_error_func_ptr_t