HAL
LL_TIM_HALLSENSOR_InitTypeDef is only used within HAL.
 
Symbols
loading...
Files
loading...
CodeScopeSTM32 Libraries and SamplesHALLL_TIM_HALLSENSOR_InitTypeDef

LL_TIM_HALLSENSOR_InitTypeDef struct

TIM Hall sensor interface configuration structure definition.

Syntax

typedef struct {   uint32_t IC1Polarity;           uint32_t IC1Prescaler;          uint32_t IC1Filter;             uint32_t CommutationDelay;    } LL_TIM_HALLSENSOR_InitTypeDef;

Fields

IC1Polarity

Specifies the active edge of TI1 input. This parameter can be a value of TIM_LL_EC_IC_POLARITY. This feature can be modified afterwards using unitary function LL_TIM_IC_SetPolarity(). Read more...

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 TIM_LL_EC_ICPSC. This feature can be modified afterwards using unitary function LL_TIM_IC_SetPrescaler(). Read more...

IC1Filter

Specifies the TI1 input filter. This parameter can be a value of TIM_LL_EC_IC_FILTER. This feature can be modified afterwards using unitary function LL_TIM_IC_SetFilter(). Read more...

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(). Read more...