Microchip® Advanced Software Framework

can_mb_conf_t Struct Reference

Define the struct for CAN message mailbox.

#include <can.h>

Data Fields

uint8_t uc_id_ver
 0 stands for standard frame, 1 stands for extended frame. More...
 
uint8_t uc_length
 Received data length or transmitted data length. More...
 
uint8_t uc_obj_type
 Mailbox object type, one of the six different objects. More...
 
uint8_t uc_tx_prio
 Mailbox priority, no effect in receive mode. More...
 
uint32_t ul_datah
 
uint32_t ul_datal
 
uint32_t ul_fid
 Family ID. More...
 
uint32_t ul_id
 Received frame ID or the frame ID to be transmitted. More...
 
uint32_t ul_id_msk
 No effect in transmit mode. More...
 
uint32_t ul_mb_idx
 
uint32_t ul_status
 Mailbox status register value. More...
 

uint8_t can_mb_conf_t::uc_id_ver

0 stands for standard frame, 1 stands for extended frame.

Referenced by can_mailbox_init(), can_mailbox_tx_remote_frame(), can_mailbox_write(), reset_mailbox_conf(), run_can_test(), test_1(), test_2(), and test_3().

uint8_t can_mb_conf_t::uc_obj_type

Mailbox object type, one of the six different objects.

Referenced by can_mailbox_init(), can_reset_all_mailbox(), reset_mailbox_conf(), run_can_test(), test_1(), test_2(), test_3(), and test_4().

uint8_t can_mb_conf_t::uc_tx_prio

Mailbox priority, no effect in receive mode.

Referenced by can_mailbox_init(), reset_mailbox_conf(), run_can_test(), test_1(), test_2(), test_3(), and test_4().

uint32_t can_mb_conf_t::ul_fid

Family ID.

Referenced by can_mailbox_read(), and reset_mailbox_conf().

uint32_t can_mb_conf_t::ul_id

Received frame ID or the frame ID to be transmitted.

Referenced by can_mailbox_init(), can_mailbox_tx_remote_frame(), can_mailbox_write(), reset_mailbox_conf(), run_can_test(), test_1(), test_2(), test_3(), and test_4().

uint32_t can_mb_conf_t::ul_id_msk

No effect in transmit mode.

Referenced by can_mailbox_init(), reset_mailbox_conf(), run_can_test(), test_1(), test_2(), test_3(), and test_4().

uint32_t can_mb_conf_t::ul_status