CAT2 Peripheral Driver Library

Data Structures

struct  cy_stc_can_rx_filter_element_t
 Rx buffer filter element. More...
 
struct  cy_stc_can_message_frame_t
 CAN message frame. More...
 
struct  cy_stc_can_rx_buffer_config_t
 Rx buffer configuration. More...
 
struct  cy_stc_can_bitrate_t
 CAN bitrate parameters. More...
 
struct  cy_stc_can_config_t
 CAN configuration. More...
 
struct  cy_stc_can_context_t
 Context structure. More...
 

Typedefs

typedef void(* cy_can_tx_msg_func_ptr_t) (void)
 Message transmission complete callback function (cy_can_tx_msg_func_ptr_t). More...
 
typedef void(* cy_can_rx_msg_func_ptr_t) (uint8_t index, cy_stc_can_message_frame_t *rxMsg)
 The message reception callback function for message received in the Rx Buffer (cy_can_rx_msg_func_ptr_t). More...
 
typedef void(* cy_can_error_func_ptr_t) (uint32_t errorMask)
 The error callback function (cy_can_error_func_ptr_t). More...
 

Detailed Description

Typedef Documentation

◆ cy_can_tx_msg_func_ptr_t

typedef void(* cy_can_tx_msg_func_ptr_t) (void)

Message transmission complete callback function (cy_can_tx_msg_func_ptr_t).

Signals a successful completed transmission. Triggered with CY_CAN_TRANSMISSION_COMPLETE interrupt event

◆ cy_can_rx_msg_func_ptr_t

typedef void(* cy_can_rx_msg_func_ptr_t) (uint8_t index, cy_stc_can_message_frame_t *rxMsg)

The message reception callback function for message received in the Rx Buffer (cy_can_rx_msg_func_ptr_t).

The index indicates the number of the received Rx buffer. Signals that CAN has received a new message.
Triggered with
CY_CAN_RX_BUFFER_NEW_MESSAGE
CY_CAN_RTR_REPLY_COMPLETE
interrupt events.

◆ cy_can_error_func_ptr_t

typedef void(* cy_can_error_func_ptr_t) (uint32_t errorMask)