Synergy Software Package User's Manual
can_instance_ctrl_t Struct Reference

#include <r_can.h>

Data Fields

uint32_t channel
 Channel number. More...
 
uint32_t open
 Open status of channel.
 
can_mode_t operation_mode
 Can operation mode.
 
can_id_mode_t id_mode
 Standard or Extended ID mode.
 
uint32_t mailbox_count
 Number of mailboxes.
 
can_mailbox_tp_mailbox
 Pointer to mailboxes.
 
can_message_mode_t message_mode
 Overwrite message or overrun.
 
can_clock_source_t clock_source
 Clock source. CANMCLK or PCLKB.
 
void(* p_callback )(can_callback_args_t *p_args)
 Pointer to callback function. More...
 
void const * p_context
 Pointer to the higher level device context.
 
void * p_reg
 Pointer to register base address.
 
IRQn_Type error_irq
 Error IRQ number.
 
IRQn_Type mailbox_rx_irq
 Receive mailbox IRQ number.
 
IRQn_Type mailbox_tx_irq
 Transmit mailbox IRQ number.
 

Detailed Description

CAN Instance Control Block

Field Documentation

◆ channel

uint32_t can_instance_ctrl_t::channel

Channel number.

Parameters to control CAN peripheral device

◆ p_callback

void(* can_instance_ctrl_t::p_callback) (can_callback_args_t *p_args)

Pointer to callback function.

Parameters to process CAN Event


The documentation for this struct was generated from the following file: