STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
|
CAN init structure definition. More...
#include <stm32f4xx_hal_can_legacy.h>
Data Fields | |
uint32_t | Prescaler |
uint32_t | Mode |
uint32_t | SJW |
uint32_t | BS1 |
uint32_t | BS2 |
uint32_t | TTCM |
uint32_t | ABOM |
uint32_t | AWUM |
uint32_t | NART |
uint32_t | RFLM |
uint32_t | TXFP |
uint32_t | SyncJumpWidth |
uint32_t | TimeSeg1 |
uint32_t | TimeSeg2 |
FunctionalState | TimeTriggeredMode |
FunctionalState | AutoBusOff |
FunctionalState | AutoWakeUp |
FunctionalState | AutoRetransmission |
FunctionalState | ReceiveFifoLocked |
FunctionalState | TransmitFifoPriority |
CAN init structure definition.
Definition at line 71 of file stm32f4xx_hal_can_legacy.h.
uint32_t CAN_InitTypeDef::Prescaler |
Specifies the length of a time quantum. This parameter must be a number between Min_Data = 1 and Max_Data = 1024
Specifies the length of a time quantum. This parameter must be a number between Min_Data = 1 and Max_Data = 1024.
Definition at line 73 of file stm32f4xx_hal_can_legacy.h.
Referenced by HAL_CAN_Init().
uint32_t CAN_InitTypeDef::Mode |
Specifies the CAN operating mode. This parameter can be a value of CAN Operating Mode
Definition at line 76 of file stm32f4xx_hal_can_legacy.h.
Referenced by HAL_CAN_Init().
uint32_t CAN_InitTypeDef::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 79 of file stm32f4xx_hal_can_legacy.h.
uint32_t CAN_InitTypeDef::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 84 of file stm32f4xx_hal_can_legacy.h.
uint32_t CAN_InitTypeDef::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 87 of file stm32f4xx_hal_can_legacy.h.
uint32_t CAN_InitTypeDef::TTCM |
Enable or disable the time triggered communication mode. This parameter can be set to ENABLE or DISABLE.
Definition at line 90 of file stm32f4xx_hal_can_legacy.h.
uint32_t CAN_InitTypeDef::ABOM |
Enable or disable the automatic bus-off management. This parameter can be set to ENABLE or DISABLE
Definition at line 93 of file stm32f4xx_hal_can_legacy.h.
uint32_t CAN_InitTypeDef::AWUM |
Enable or disable the automatic wake-up mode. This parameter can be set to ENABLE or DISABLE
Definition at line 96 of file stm32f4xx_hal_can_legacy.h.
uint32_t CAN_InitTypeDef::NART |
Enable or disable the non-automatic retransmission mode. This parameter can be set to ENABLE or DISABLE
Definition at line 99 of file stm32f4xx_hal_can_legacy.h.
uint32_t CAN_InitTypeDef::RFLM |
Enable or disable the receive FIFO Locked mode. This parameter can be set to ENABLE or DISABLE
Definition at line 102 of file stm32f4xx_hal_can_legacy.h.
uint32_t CAN_InitTypeDef::TXFP |
Enable or disable the transmit FIFO priority. This parameter can be set to ENABLE or DISABLE
Definition at line 105 of file stm32f4xx_hal_can_legacy.h.
uint32_t CAN_InitTypeDef::SyncJumpWidth |
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 68 of file stm32f4xx_hal_can.h.
Referenced by HAL_CAN_Init().
uint32_t CAN_InitTypeDef::TimeSeg1 |
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 72 of file stm32f4xx_hal_can.h.
Referenced by HAL_CAN_Init().
uint32_t CAN_InitTypeDef::TimeSeg2 |
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 75 of file stm32f4xx_hal_can.h.
Referenced by HAL_CAN_Init().
FunctionalState CAN_InitTypeDef::TimeTriggeredMode |
Enable or disable the time triggered communication mode. This parameter can be set to ENABLE or DISABLE.
Definition at line 78 of file stm32f4xx_hal_can.h.
Referenced by HAL_CAN_Init().
FunctionalState CAN_InitTypeDef::AutoBusOff |
Enable or disable the automatic bus-off management. This parameter can be set to ENABLE or DISABLE.
Definition at line 81 of file stm32f4xx_hal_can.h.
Referenced by HAL_CAN_Init().
FunctionalState CAN_InitTypeDef::AutoWakeUp |
Enable or disable the automatic wake-up mode. This parameter can be set to ENABLE or DISABLE.
Definition at line 84 of file stm32f4xx_hal_can.h.
Referenced by HAL_CAN_Init().
FunctionalState CAN_InitTypeDef::AutoRetransmission |
Enable or disable the non-automatic retransmission mode. This parameter can be set to ENABLE or DISABLE.
Definition at line 87 of file stm32f4xx_hal_can.h.
Referenced by HAL_CAN_Init().
FunctionalState CAN_InitTypeDef::ReceiveFifoLocked |
Enable or disable the Receive FIFO Locked mode. This parameter can be set to ENABLE or DISABLE.
Definition at line 90 of file stm32f4xx_hal_can.h.
Referenced by HAL_CAN_Init().
FunctionalState CAN_InitTypeDef::TransmitFifoPriority |
Enable or disable the transmit FIFO priority. This parameter can be set to ENABLE or DISABLE.
Definition at line 93 of file stm32f4xx_hal_can.h.
Referenced by HAL_CAN_Init().