Controller area network (bxCAN)
4.1.7 CanRxMsg
CanRxMsg is defined in the stm32f30x_can.h
Data Fields
uint32_t StdId
uint32_t ExtId
uint8_t IDE
uint8_t RTR
uint8_t DLC
uint8_t Data
uint8_t FMI
Field Documentation
uint32_t CanRxMsg::StdId
Specifies the standard identifier. This parameter can be a value between 0 to
0x7FF.
uint32_t CanRxMsg::ExtId
Specifies the extended identifier. This parameter can be a value between 0 to
0x1FFFFFFF.
uint8_t CanRxMsg::IDE
Specifies the type of identifier for the message that will be received. This
parameter can be a value of CAN_identifier_type
uint8_t CanRxMsg::RTR
Specifies the type of frame for the received message. This parameter can be a
value of CAN_remote_transmission_request
uint8_t CanRxMsg::DLC
Specifies the length of the frame that will be received. This parameter can be a
value between 0 to 8
uint8_t CanRxMsg::Data[8]
Contains the data to be received. It ranges from 0 to 0xFF.
uint8_t CanRxMsg::FMI
Specifies the index of the filter the message stored in the mailbox passes
through. This parameter can be a value between 0 to 0xFF
4.1.8 CanTxMsg
CanTxMsg is defined in the stm32f30x_can.h
Data Fields
uint32_t StdId
uint32_t ExtId
uint8_t IDE
uint8_t RTR
uint8_t DLC
uint8_t Data