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_length |
Received data length or transmitted data length.
Referenced by can_mailbox_read(), can_mailbox_send_abort_cmd(), can_mailbox_send_transfer_cmd(), can_mailbox_tx_remote_frame(), can_mailbox_write(), reset_mailbox_conf(), run_can_test(), test_1(), test_2(), test_3(), and test_4().
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_datah |
Referenced by can_mailbox_read(), 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_datal |
Referenced by can_mailbox_read(), can_mailbox_write(), decode_can_msg(), 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_mb_idx |
Referenced by CAN0_Handler(), CAN1_Handler(), can_mailbox_init(), can_mailbox_read(), can_mailbox_send_abort_cmd(), can_mailbox_send_transfer_cmd(), can_mailbox_tx_remote_frame(), can_mailbox_write(), can_reset_all_mailbox(), reset_mailbox_conf(), run_can_test(), test_1(), test_2(), test_3(), and test_4().
uint32_t can_mb_conf_t::ul_status |
Mailbox status register value.
Referenced by CAN0_Handler(), CAN1_Handler(), can_mailbox_read(), can_mailbox_tx_remote_frame(), can_mailbox_write(), and reset_mailbox_conf().