EasyManuals Logo

ST STM32F2 User Manual

ST STM32F2
1371 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1229 background imageLoading...
Page #1229 background image
UM1940
LL TIM Generic Driver
DocID028236 Rev 2
1229/1371
LL_TIM_HALLSENSOR_StructInit
Function name
void LL_TIM_HALLSENSOR_StructInit
(LL_TIM_HALLSENSOR_InitTypeDef *
TIM_HallSensorInitStruct)
Function description
Set the fields of the TIMx Hall sensor interface configuration data
structure to their default values.
Parameters
TIM_HallSensorInitStruct: pointer to a
LL_TIM_HALLSENSOR_InitTypeDef structure (HALL sensor
interface configuration data structure)
Return values
None:
LL_TIM_HALLSENSOR_Init
Function name
ErrorStatus LL_TIM_HALLSENSOR_Init (TIM_TypeDef * TIMx,
LL_TIM_HALLSENSOR_InitTypeDef *
TIM_HallSensorInitStruct)
Function description
Configure the Hall sensor interface of the timer instance.
Parameters
TIMx: Timer Instance
TIM_HallSensorInitStruct: pointer to a
LL_TIM_HALLSENSOR_InitTypeDef structure (TIMx HALL
sensor interface configuration data structure)
Return values
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.
LL_TIM_BDTR_StructInit
Function name
void LL_TIM_BDTR_StructInit (LL_TIM_BDTR_InitTypeDef *
TIM_BDTRInitStruct)
Function description
Set the fields of the Break and Dead Time configuration data
structure to their default values.
Parameters
TIM_BDTRInitStruct: pointer to a
LL_TIM_BDTR_InitTypeDef structure (Break and Dead Time

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32F2 and is the answer not in the manual?

ST STM32F2 Specifications

General IconGeneral
BrandST
ModelSTM32F2
CategoryMicrocontrollers
LanguageEnglish

Related product manuals