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