Controller area network (bxCAN)
Data Fields
ï‚· uint16_t CAN_Prescaler
ï‚· uint8_t CAN_Mode
ï‚· uint8_t CAN_SJW
ï‚· uint8_t CAN_BS1
ï‚· uint8_t CAN_BS2
ï‚· FunctionalState CAN_TTCM
ï‚· FunctionalState CAN_ABOM
ï‚· FunctionalState CAN_AWUM
ï‚· FunctionalState CAN_NART
ï‚· FunctionalState CAN_RFLM
ï‚· FunctionalState CAN_TXFP
Field Documentation
ï‚· uint16_t CAN_InitTypeDef::CAN_Prescaler
ï€ Specifies the length of a time quantum. It ranges from 1 to 1024.
ï‚· uint8_t CAN_InitTypeDef::CAN_Mode
ï€ Specifies the CAN operating mode. This parameter can be a value of
CAN_operating_mode
ï‚· uint8_t CAN_InitTypeDef::CAN_SJW
ï€ Specifies the maximum number of time quanta the CAN hardware is allowed to
lengthen or shorten a bit to perform resynchronization. This parameter can be a
value of CAN_synchronisation_jump_width
ï‚· uint8_t CAN_InitTypeDef::CAN_BS1
ï€ Specifies the number of time quanta in Bit Segment 1. This parameter can be a
value of CAN_time_quantum_in_bit_segment_1
ï‚· uint8_t CAN_InitTypeDef::CAN_BS2
ï€ Specifies the number of time quanta in Bit Segment 2. This parameter can be a
value of CAN_time_quantum_in_bit_segment_2
ï‚· FunctionalState CAN_InitTypeDef::CAN_TTCM
ï€ Enable or disable the time triggered communication mode. This parameter can
be set either to ENABLE or DISABLE.
ï‚· FunctionalState CAN_InitTypeDef::CAN_ABOM
ï€ Enable or disable the automatic bus-off management. This parameter can be set
either to ENABLE or DISABLE.
ï‚· FunctionalState CAN_InitTypeDef::CAN_AWUM
ï€ Enable or disable the automatic wake-up mode. This parameter can be set either
to ENABLE or DISABLE.
ï‚· FunctionalState CAN_InitTypeDef::CAN_NART
ï€ Enable or disable the non-automatic retransmission mode. This parameter can
be set either to ENABLE or DISABLE.
ï‚· FunctionalState CAN_InitTypeDef::CAN_RFLM
ï€ Enable or disable the Receive FIFO Locked mode. This parameter can be set
either to ENABLE or DISABLE.
ï‚· FunctionalState CAN_InitTypeDef::CAN_TXFP
ï€ Enable or disable the transmit FIFO priority. This parameter can be set either to
ENABLE or DISABLE.