HAL
LL_TIM_HALLSENSOR_Init() is only used within HAL.
 
Symbols
loading...
Files
loading...
SummarySyntaxArgumentsRelatedReferences

Return value

An ErrorStatus enumeration value: - SUCCESS: TIMx registers are de-initialized - ERROR: not applicable

Notes

TIMx CH1, CH2 and CH3 inputs connected through a XOR to the TI1 input channel TIMx slave mode controller is configured in reset mode. Selected internal trigger is TI1F_ED. Channel 1 is configured as input, IC1 is mapped on TRC. Captured value stored in TIMx_CCR1 correspond to the time elapsed between 2 changes on the inputs. It gives information about motor speed. Channel 2 is configured in output PWM 2 mode. Compare value stored in TIMx_CCR2 corresponds to the commutation delay. OC2REF is selected as trigger output on TRGO. LL_TIM_IC_POLARITY_BOTHEDGE must not be used for TI1 when it is used when TIMx operates in Hall sensor interface mode.

References

from examples