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... | |
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
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.
typedef void(* cy_can_error_func_ptr_t) (uint32_t errorMask) |
The error callback function (cy_can_error_func_ptr_t).
Signals that the CAN bus status changed or an error occurred.
Triggered with
CY_CAN_ARBITRATION_LOST
CY_CAN_OVERLOAD_FRAME_RECEIVED
CY_CAN_BIT_ERROR_OCCURRED
CY_CAN_STUFF_ERROR_OCCURRED
CY_CAN_ACK_ERROR_OCCURRED
CY_CAN_FORM_ERROR_OCCURRED
CY_CAN_CRC_ERROR_OCCURRED
CY_CAN_BUS_OFF_STATUS
CY_CAN_RX_MESSAGE_LOSS
CY_CAN_STUCK_AT_DOMINANT
CY_CAN_SINGLE_SHOT_FAILURE
interrupt events.