![]() |
ARMEBS4
revision-26.06.2015
|
CAN init structure definition. More...
#include "C:/Programs/ARMEBS4/current/doc/eclipse-doc/ext/libheivs_stm32/include/stm32/stm32f4xx_can.h"
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 |
CAN init structure definition.
Definition at line 50 of file stm32f4xx_can.h.
uint16_t CAN_InitTypeDef::CAN_Prescaler |
Specifies the length of a time quantum. It ranges from 1 to 1024.
Definition at line 52 of file stm32f4xx_can.h.
uint8_t CAN_InitTypeDef::CAN_Mode |
Specifies the CAN operating mode. This parameter can be a value of CAN_operating_mode
Definition at line 55 of file stm32f4xx_can.h.
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
Definition at line 58 of file stm32f4xx_can.h.
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
Definition at line 63 of file stm32f4xx_can.h.
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
Definition at line 67 of file stm32f4xx_can.h.
FunctionalState CAN_InitTypeDef::CAN_TTCM |
Enable or disable the time triggered communication mode. This parameter can be set either to ENABLE or DISABLE.
Definition at line 70 of file stm32f4xx_can.h.
FunctionalState CAN_InitTypeDef::CAN_ABOM |
Enable or disable the automatic bus-off management. This parameter can be set either to ENABLE or DISABLE.
Definition at line 73 of file stm32f4xx_can.h.
FunctionalState CAN_InitTypeDef::CAN_AWUM |
Enable or disable the automatic wake-up mode. This parameter can be set either to ENABLE or DISABLE.
Definition at line 76 of file stm32f4xx_can.h.
FunctionalState CAN_InitTypeDef::CAN_NART |
Enable or disable the non-automatic retransmission mode. This parameter can be set either to ENABLE or DISABLE.
Definition at line 79 of file stm32f4xx_can.h.
FunctionalState CAN_InitTypeDef::CAN_RFLM |
Enable or disable the Receive FIFO Locked mode. This parameter can be set either to ENABLE or DISABLE.
Definition at line 82 of file stm32f4xx_can.h.
FunctionalState CAN_InitTypeDef::CAN_TXFP |
Enable or disable the transmit FIFO priority. This parameter can be set either to ENABLE or DISABLE.
Definition at line 85 of file stm32f4xx_can.h.