STM32F4xx_HAL_Driver
1.8.3
|
Data Structures | |
struct | LL_TIM_InitTypeDef |
TIM Time Base configuration structure definition. More... | |
struct | LL_TIM_OC_InitTypeDef |
TIM Output Compare configuration structure definition. More... | |
struct | LL_TIM_IC_InitTypeDef |
TIM Input Capture configuration structure definition. More... | |
struct | LL_TIM_ENCODER_InitTypeDef |
TIM Encoder interface configuration structure definition. More... | |
struct | LL_TIM_HALLSENSOR_InitTypeDef |
TIM Hall sensor interface configuration structure definition. More... | |
struct | LL_TIM_BDTR_InitTypeDef |
BDTR (Break and Dead Time) structure definition. More... | |
struct LL_TIM_InitTypeDef |
TIM Time Base configuration structure definition.
Definition at line 182 of file stm32f4xx_ll_tim.h.
Data Fields | ||
---|---|---|
uint32_t | Autoreload |
Specifies the auto reload value to be loaded into the active Auto-Reload Register at the next update event. This parameter must be a number between Min_Data=0x0000 and Max_Data=0xFFFF. Some timer instances may support 32 bits counters. In that case this parameter must be a number between 0x0000 and 0xFFFFFFFF. This feature can be modified afterwards using unitary function LL_TIM_SetAutoReload(). |
uint32_t | ClockDivision |
Specifies the clock division. This parameter can be a value of Clock Division. This feature can be modified afterwards using unitary function LL_TIM_SetClockDivision(). |
uint32_t | CounterMode |
Specifies the counter mode. This parameter can be a value of Counter Mode. This feature can be modified afterwards using unitary function LL_TIM_SetCounterMode(). |
uint16_t | Prescaler |
Specifies the prescaler value used to divide the TIM clock. This parameter can be a number between Min_Data=0x0000 and Max_Data=0xFFFF. This feature can be modified afterwards using unitary function LL_TIM_SetPrescaler(). |
uint32_t | RepetitionCounter |
Specifies the repetition counter value. Each time the RCR downcounter reaches zero, an update event is generated and counting restarts from the RCR value (N). This means in PWM mode that (N+1) corresponds to:
This feature can be modified afterwards using unitary function LL_TIM_SetRepetitionCounter(). |
struct LL_TIM_OC_InitTypeDef |
TIM Output Compare configuration structure definition.
Definition at line 229 of file stm32f4xx_ll_tim.h.
Data Fields | ||
---|---|---|
uint32_t | CompareValue |
Specifies the Compare value to be loaded into the Capture Compare Register. This parameter can be a number between Min_Data=0x0000 and Max_Data=0xFFFF. This feature can be modified afterwards using unitary function LL_TIM_OC_SetCompareCHx (x=1..6). |
uint32_t | OCIdleState |
Specifies the TIM Output Compare pin state during Idle state. This parameter can be a value of Output Configuration Idle State. This feature can be modified afterwards using unitary function LL_TIM_OC_SetIdleState(). |
uint32_t | OCMode |
Specifies the output mode. This parameter can be a value of Output Configuration Mode. This feature can be modified afterwards using unitary function LL_TIM_OC_SetMode(). |
uint32_t | OCNIdleState |
Specifies the TIM Output Compare pin state during Idle state. This parameter can be a value of Output Configuration Idle State. This feature can be modified afterwards using unitary function LL_TIM_OC_SetIdleState(). |
uint32_t | OCNPolarity |
Specifies the complementary output polarity. This parameter can be a value of Output Configuration Polarity. This feature can be modified afterwards using unitary function LL_TIM_OC_SetPolarity(). |
uint32_t | OCNState |
Specifies the TIM complementary Output Compare state. This parameter can be a value of Output Configuration State. This feature can be modified afterwards using unitary functions LL_TIM_CC_EnableChannel() or LL_TIM_CC_DisableChannel(). |
uint32_t | OCPolarity |
Specifies the output polarity. This parameter can be a value of Output Configuration Polarity. This feature can be modified afterwards using unitary function LL_TIM_OC_SetPolarity(). |
uint32_t | OCState |
Specifies the TIM Output Compare state. This parameter can be a value of Output Configuration State. This feature can be modified afterwards using unitary functions LL_TIM_CC_EnableChannel() or LL_TIM_CC_DisableChannel(). |
struct LL_TIM_IC_InitTypeDef |
TIM Input Capture configuration structure definition.
Definition at line 285 of file stm32f4xx_ll_tim.h.
Data Fields | ||
---|---|---|
uint32_t | ICActiveInput |
Specifies the input. This parameter can be a value of Active Input Selection. This feature can be modified afterwards using unitary function LL_TIM_IC_SetActiveInput(). |
uint32_t | ICFilter |
Specifies the input capture filter. This parameter can be a value of Input Configuration Filter. This feature can be modified afterwards using unitary function LL_TIM_IC_SetFilter(). |
uint32_t | ICPolarity |
Specifies the active edge of the input signal. This parameter can be a value of Input Configuration Polarity. This feature can be modified afterwards using unitary function LL_TIM_IC_SetPolarity(). |
uint32_t | ICPrescaler |
Specifies the Input Capture Prescaler. This parameter can be a value of Input Configuration Prescaler. This feature can be modified afterwards using unitary function LL_TIM_IC_SetPrescaler(). |
struct LL_TIM_ENCODER_InitTypeDef |
TIM Encoder interface configuration structure definition.
Definition at line 317 of file stm32f4xx_ll_tim.h.
Data Fields | ||
---|---|---|
uint32_t | EncoderMode |
Specifies the encoder resolution (x2 or x4). This parameter can be a value of Encoder Mode. This feature can be modified afterwards using unitary function LL_TIM_SetEncoderMode(). |
uint32_t | IC1ActiveInput |
Specifies the TI1 input source This parameter can be a value of Active Input Selection. This feature can be modified afterwards using unitary function LL_TIM_IC_SetActiveInput(). |
uint32_t | IC1Filter |
Specifies the TI1 input filter. This parameter can be a value of Input Configuration Filter. This feature can be modified afterwards using unitary function LL_TIM_IC_SetFilter(). |
uint32_t | IC1Polarity |
Specifies the active edge of TI1 input. This parameter can be a value of Input Configuration Polarity. This feature can be modified afterwards using unitary function LL_TIM_IC_SetPolarity(). |
uint32_t | IC1Prescaler |
Specifies the TI1 input prescaler value. This parameter can be a value of Input Configuration Prescaler. This feature can be modified afterwards using unitary function LL_TIM_IC_SetPrescaler(). |
uint32_t | IC2ActiveInput |
Specifies the TI2 input source This parameter can be a value of Active Input Selection. This feature can be modified afterwards using unitary function LL_TIM_IC_SetActiveInput(). |
uint32_t | IC2Filter |
Specifies the TI2 input filter. This parameter can be a value of Input Configuration Filter. This feature can be modified afterwards using unitary function LL_TIM_IC_SetFilter(). |
uint32_t | IC2Polarity |
Specifies the active edge of TI2 input. This parameter can be a value of Input Configuration Polarity. This feature can be modified afterwards using unitary function LL_TIM_IC_SetPolarity(). |
uint32_t | IC2Prescaler |
Specifies the TI2 input prescaler value. This parameter can be a value of Input Configuration Prescaler. This feature can be modified afterwards using unitary function LL_TIM_IC_SetPrescaler(). |
struct LL_TIM_HALLSENSOR_InitTypeDef |
TIM Hall sensor interface configuration structure definition.
Definition at line 378 of file stm32f4xx_ll_tim.h.
Data Fields | ||
---|---|---|
uint32_t | CommutationDelay |
Specifies the compare value to be loaded into the Capture Compare Register. A positive pulse (TRGO event) is generated with a programmable delay every time a change occurs on the Hall inputs. This parameter can be a number between Min_Data = 0x0000 and Max_Data = 0xFFFF. This feature can be modified afterwards using unitary function LL_TIM_OC_SetCompareCH2(). |
uint32_t | IC1Filter |
Specifies the TI1 input filter. This parameter can be a value of Input Configuration Filter. This feature can be modified afterwards using unitary function LL_TIM_IC_SetFilter(). |
uint32_t | IC1Polarity |
Specifies the active edge of TI1 input. This parameter can be a value of Input Configuration Polarity. This feature can be modified afterwards using unitary function LL_TIM_IC_SetPolarity(). |
uint32_t | IC1Prescaler |
Specifies the TI1 input prescaler value. Prescaler must be set to get a maximum counter period longer than the time interval between 2 consecutive changes on the Hall inputs. This parameter can be a value of Input Configuration Prescaler. This feature can be modified afterwards using unitary function LL_TIM_IC_SetPrescaler(). |
struct LL_TIM_BDTR_InitTypeDef |
BDTR (Break and Dead Time) structure definition.
Definition at line 414 of file stm32f4xx_ll_tim.h.
Data Fields | ||
---|---|---|
uint32_t | AutomaticOutput |
Specifies whether the TIM Automatic Output feature is enabled or not. This parameter can be a value of Automatic output enable This feature can be modified afterwards using unitary functions LL_TIM_EnableAutomaticOutput() or LL_TIM_DisableAutomaticOutput()
|
uint32_t | BreakPolarity |
Specifies the TIM Break Input pin polarity. This parameter can be a value of break polarity This feature can be modified afterwards using unitary function LL_TIM_ConfigBRK()
|
uint16_t | BreakState |
Specifies whether the TIM Break input is enabled or not. This parameter can be a value of Break Enable This feature can be modified afterwards using unitary functions LL_TIM_EnableBRK() or LL_TIM_DisableBRK()
|
uint8_t | DeadTime |
Specifies the delay time between the switching-off and the switching-on of the outputs. This parameter can be a number between Min_Data = 0x00 and Max_Data = 0xFF. This feature can be modified afterwards using unitary function LL_TIM_OC_SetDeadTime()
|
uint32_t | LockLevel |
Specifies the LOCK level parameters. This parameter can be a value of Lock Level
|
uint32_t | OSSIState |
Specifies the Off-State used in Idle state. This parameter can be a value of OSSI This feature can be modified afterwards using unitary function LL_TIM_SetOffStates()
|
uint32_t | OSSRState |
Specifies the Off-State selection used in Run mode. This parameter can be a value of OSSR This feature can be modified afterwards using unitary function LL_TIM_SetOffStates()
|