STM32H735xx HAL User Manual
|
Functions | |
ErrorStatus | LL_TIM_DeInit (TIM_TypeDef *TIMx) |
Set TIMx registers to their reset values. | |
void | LL_TIM_StructInit (LL_TIM_InitTypeDef *TIM_InitStruct) |
Set the fields of the time base unit configuration data structure to their default values. | |
ErrorStatus | LL_TIM_Init (TIM_TypeDef *TIMx, LL_TIM_InitTypeDef *TIM_InitStruct) |
Configure the TIMx time base unit. | |
void | LL_TIM_OC_StructInit (LL_TIM_OC_InitTypeDef *TIM_OC_InitStruct) |
Set the fields of the TIMx output channel configuration data structure to their default values. | |
ErrorStatus | LL_TIM_OC_Init (TIM_TypeDef *TIMx, uint32_t Channel, LL_TIM_OC_InitTypeDef *TIM_OC_InitStruct) |
Configure the TIMx output channel. | |
void | LL_TIM_IC_StructInit (LL_TIM_IC_InitTypeDef *TIM_ICInitStruct) |
Set the fields of the TIMx input channel configuration data structure to their default values. | |
ErrorStatus | LL_TIM_IC_Init (TIM_TypeDef *TIMx, uint32_t Channel, LL_TIM_IC_InitTypeDef *TIM_IC_InitStruct) |
Configure the TIMx input channel. | |
void | LL_TIM_ENCODER_StructInit (LL_TIM_ENCODER_InitTypeDef *TIM_EncoderInitStruct) |
Fills each TIM_EncoderInitStruct field with its default value. | |
ErrorStatus | LL_TIM_ENCODER_Init (TIM_TypeDef *TIMx, LL_TIM_ENCODER_InitTypeDef *TIM_EncoderInitStruct) |
Configure the encoder interface of the timer instance. | |
void | LL_TIM_HALLSENSOR_StructInit (LL_TIM_HALLSENSOR_InitTypeDef *TIM_HallSensorInitStruct) |
Set the fields of the TIMx Hall sensor interface configuration data structure to their default values. | |
ErrorStatus | LL_TIM_HALLSENSOR_Init (TIM_TypeDef *TIMx, LL_TIM_HALLSENSOR_InitTypeDef *TIM_HallSensorInitStruct) |
Configure the Hall sensor interface of the timer instance. | |
void | LL_TIM_BDTR_StructInit (LL_TIM_BDTR_InitTypeDef *TIM_BDTRInitStruct) |
Set the fields of the Break and Dead Time configuration data structure to their default values. | |
ErrorStatus | LL_TIM_BDTR_Init (TIM_TypeDef *TIMx, LL_TIM_BDTR_InitTypeDef *TIM_BDTRInitStruct) |
Configure the Break and Dead Time feature of the timer instance. |
ErrorStatus LL_TIM_BDTR_Init | ( | TIM_TypeDef * | TIMx, |
LL_TIM_BDTR_InitTypeDef * | TIM_BDTRInitStruct | ||
) |
Configure the Break and Dead Time feature of the timer instance.
TIMx | Timer Instance |
TIM_BDTRInitStruct | pointer to a LL_TIM_BDTR_InitTypeDef structure (Break and Dead Time configuration data structure) |
An | ErrorStatus enumeration value:
|
Definition at line 769 of file stm32h7xx_ll_tim.c.
References assert_param, LL_TIM_BDTR_InitTypeDef::AutomaticOutput, LL_TIM_BDTR_InitTypeDef::Break2AFMode, LL_TIM_BDTR_InitTypeDef::Break2Filter, LL_TIM_BDTR_InitTypeDef::Break2Polarity, LL_TIM_BDTR_InitTypeDef::Break2State, LL_TIM_BDTR_InitTypeDef::BreakAFMode, LL_TIM_BDTR_InitTypeDef::BreakFilter, LL_TIM_BDTR_InitTypeDef::BreakPolarity, LL_TIM_BDTR_InitTypeDef::BreakState, LL_TIM_BDTR_InitTypeDef::DeadTime, IS_LL_TIM_AUTOMATIC_OUTPUT_STATE, IS_LL_TIM_BREAK2_AFMODE, IS_LL_TIM_BREAK2_FILTER, IS_LL_TIM_BREAK2_POLARITY, IS_LL_TIM_BREAK2_STATE, IS_LL_TIM_BREAK_AFMODE, IS_LL_TIM_BREAK_FILTER, IS_LL_TIM_BREAK_POLARITY, IS_LL_TIM_BREAK_STATE, IS_LL_TIM_LOCK_LEVEL, IS_LL_TIM_OSSI_STATE, IS_LL_TIM_OSSR_STATE, LL_TIM_WriteReg, LL_TIM_BDTR_InitTypeDef::LockLevel, LL_TIM_BDTR_InitTypeDef::OSSIState, and LL_TIM_BDTR_InitTypeDef::OSSRState.
void LL_TIM_BDTR_StructInit | ( | LL_TIM_BDTR_InitTypeDef * | TIM_BDTRInitStruct | ) |
Set the fields of the Break and Dead Time configuration data structure to their default values.
TIM_BDTRInitStruct | pointer to a LL_TIM_BDTR_InitTypeDef structure (Break and Dead Time configuration data structure) |
None |
Definition at line 730 of file stm32h7xx_ll_tim.c.
References LL_TIM_BDTR_InitTypeDef::AutomaticOutput, LL_TIM_BDTR_InitTypeDef::Break2AFMode, LL_TIM_BDTR_InitTypeDef::Break2Filter, LL_TIM_BDTR_InitTypeDef::Break2Polarity, LL_TIM_BDTR_InitTypeDef::Break2State, LL_TIM_BDTR_InitTypeDef::BreakAFMode, LL_TIM_BDTR_InitTypeDef::BreakFilter, LL_TIM_BDTR_InitTypeDef::BreakPolarity, LL_TIM_BDTR_InitTypeDef::BreakState, LL_TIM_BDTR_InitTypeDef::DeadTime, LL_TIM_AUTOMATICOUTPUT_DISABLE, LL_TIM_BREAK2_AFMODE_INPUT, LL_TIM_BREAK2_DISABLE, LL_TIM_BREAK2_FILTER_FDIV1, LL_TIM_BREAK2_POLARITY_LOW, LL_TIM_BREAK_AFMODE_INPUT, LL_TIM_BREAK_DISABLE, LL_TIM_BREAK_FILTER_FDIV1, LL_TIM_BREAK_POLARITY_LOW, LL_TIM_LOCKLEVEL_OFF, LL_TIM_OSSI_DISABLE, LL_TIM_OSSR_DISABLE, LL_TIM_BDTR_InitTypeDef::LockLevel, LL_TIM_BDTR_InitTypeDef::OSSIState, and LL_TIM_BDTR_InitTypeDef::OSSRState.
ErrorStatus LL_TIM_DeInit | ( | TIM_TypeDef * | TIMx | ) |
Set TIMx registers to their reset values.
TIMx | Timer instance |
An | ErrorStatus enumeration value:
|
Definition at line 226 of file stm32h7xx_ll_tim.c.
References assert_param, LL_APB1_GRP1_ForceReset(), LL_APB1_GRP1_PERIPH_TIM12, LL_APB1_GRP1_PERIPH_TIM13, LL_APB1_GRP1_PERIPH_TIM14, LL_APB1_GRP1_PERIPH_TIM2, LL_APB1_GRP1_PERIPH_TIM3, LL_APB1_GRP1_PERIPH_TIM4, LL_APB1_GRP1_PERIPH_TIM5, LL_APB1_GRP1_PERIPH_TIM6, LL_APB1_GRP1_PERIPH_TIM7, LL_APB1_GRP1_ReleaseReset(), LL_APB2_GRP1_ForceReset(), LL_APB2_GRP1_PERIPH_TIM1, LL_APB2_GRP1_PERIPH_TIM15, LL_APB2_GRP1_PERIPH_TIM16, LL_APB2_GRP1_PERIPH_TIM17, LL_APB2_GRP1_PERIPH_TIM8, and LL_APB2_GRP1_ReleaseReset().
ErrorStatus LL_TIM_ENCODER_Init | ( | TIM_TypeDef * | TIMx, |
LL_TIM_ENCODER_InitTypeDef * | TIM_EncoderInitStruct | ||
) |
Configure the encoder interface of the timer instance.
TIMx | Timer Instance |
TIM_EncoderInitStruct | pointer to a LL_TIM_ENCODER_InitTypeDef structure (TIMx encoder interface configuration data structure) |
An | ErrorStatus enumeration value:
|
Definition at line 558 of file stm32h7xx_ll_tim.c.
References assert_param, LL_TIM_ENCODER_InitTypeDef::EncoderMode, LL_TIM_ENCODER_InitTypeDef::IC1ActiveInput, LL_TIM_ENCODER_InitTypeDef::IC1Filter, LL_TIM_ENCODER_InitTypeDef::IC1Polarity, LL_TIM_ENCODER_InitTypeDef::IC1Prescaler, LL_TIM_ENCODER_InitTypeDef::IC2ActiveInput, LL_TIM_ENCODER_InitTypeDef::IC2Filter, LL_TIM_ENCODER_InitTypeDef::IC2Polarity, LL_TIM_ENCODER_InitTypeDef::IC2Prescaler, IS_LL_TIM_ACTIVEINPUT, IS_LL_TIM_ENCODERMODE, IS_LL_TIM_IC_FILTER, IS_LL_TIM_IC_POLARITY_ENCODER, IS_LL_TIM_ICPSC, LL_TIM_ReadReg, LL_TIM_SetEncoderMode(), and LL_TIM_WriteReg.
void LL_TIM_ENCODER_StructInit | ( | LL_TIM_ENCODER_InitTypeDef * | TIM_EncoderInitStruct | ) |
Fills each TIM_EncoderInitStruct field with its default value.
TIM_EncoderInitStruct | pointer to a LL_TIM_ENCODER_InitTypeDef structure (encoder interface configuration data structure) |
None |
Definition at line 535 of file stm32h7xx_ll_tim.c.
References LL_TIM_ENCODER_InitTypeDef::EncoderMode, LL_TIM_ENCODER_InitTypeDef::IC1ActiveInput, LL_TIM_ENCODER_InitTypeDef::IC1Filter, LL_TIM_ENCODER_InitTypeDef::IC1Polarity, LL_TIM_ENCODER_InitTypeDef::IC1Prescaler, LL_TIM_ENCODER_InitTypeDef::IC2ActiveInput, LL_TIM_ENCODER_InitTypeDef::IC2Filter, LL_TIM_ENCODER_InitTypeDef::IC2Polarity, LL_TIM_ENCODER_InitTypeDef::IC2Prescaler, LL_TIM_ACTIVEINPUT_DIRECTTI, LL_TIM_ENCODERMODE_X2_TI1, LL_TIM_IC_FILTER_FDIV1, LL_TIM_IC_POLARITY_RISING, and LL_TIM_ICPSC_DIV1.
ErrorStatus LL_TIM_HALLSENSOR_Init | ( | TIM_TypeDef * | TIMx, |
LL_TIM_HALLSENSOR_InitTypeDef * | TIM_HallSensorInitStruct | ||
) |
Configure the Hall sensor interface of the timer instance.
TIMx | Timer Instance |
TIM_HallSensorInitStruct | pointer to a LL_TIM_HALLSENSOR_InitTypeDef structure (TIMx HALL sensor interface configuration data structure) |
An | ErrorStatus enumeration value:
|
Definition at line 651 of file stm32h7xx_ll_tim.c.
References assert_param, LL_TIM_HALLSENSOR_InitTypeDef::CommutationDelay, LL_TIM_HALLSENSOR_InitTypeDef::IC1Filter, LL_TIM_HALLSENSOR_InitTypeDef::IC1Polarity, LL_TIM_HALLSENSOR_InitTypeDef::IC1Prescaler, IS_LL_TIM_IC_FILTER, IS_LL_TIM_IC_POLARITY_ENCODER, IS_LL_TIM_ICPSC, LL_TIM_ACTIVEINPUT_TRC, LL_TIM_OC_SetCompareCH2(), LL_TIM_OCMODE_PWM2, LL_TIM_ReadReg, LL_TIM_SLAVEMODE_RESET, LL_TIM_TRGO_OC2REF, LL_TIM_TS_TI1F_ED, and LL_TIM_WriteReg.
void LL_TIM_HALLSENSOR_StructInit | ( | LL_TIM_HALLSENSOR_InitTypeDef * | TIM_HallSensorInitStruct | ) |
Set the fields of the TIMx Hall sensor interface configuration data structure to their default values.
TIM_HallSensorInitStruct | pointer to a LL_TIM_HALLSENSOR_InitTypeDef structure (HALL sensor interface configuration data structure) |
None |
Definition at line 621 of file stm32h7xx_ll_tim.c.
References LL_TIM_HALLSENSOR_InitTypeDef::CommutationDelay, LL_TIM_HALLSENSOR_InitTypeDef::IC1Filter, LL_TIM_HALLSENSOR_InitTypeDef::IC1Polarity, LL_TIM_HALLSENSOR_InitTypeDef::IC1Prescaler, LL_TIM_IC_FILTER_FDIV1, LL_TIM_IC_POLARITY_RISING, and LL_TIM_ICPSC_DIV1.
ErrorStatus LL_TIM_IC_Init | ( | TIM_TypeDef * | TIMx, |
uint32_t | Channel, | ||
LL_TIM_IC_InitTypeDef * | TIM_IC_InitStruct | ||
) |
Configure the TIMx input channel.
TIMx | Timer Instance |
Channel | This parameter can be one of the following values: |
TIM_IC_InitStruct | pointer to a LL_TIM_IC_InitTypeDef structure (TIMx input channel configuration data structure) |
An | ErrorStatus enumeration value:
|
Definition at line 504 of file stm32h7xx_ll_tim.c.
References IC1Config(), IC2Config(), IC3Config(), IC4Config(), LL_TIM_CHANNEL_CH1, LL_TIM_CHANNEL_CH2, LL_TIM_CHANNEL_CH3, and LL_TIM_CHANNEL_CH4.
void LL_TIM_IC_StructInit | ( | LL_TIM_IC_InitTypeDef * | TIM_ICInitStruct | ) |
Set the fields of the TIMx input channel configuration data structure to their default values.
TIM_ICInitStruct | pointer to a LL_TIM_IC_InitTypeDef structure (the input channel configuration data structure) |
None |
Definition at line 481 of file stm32h7xx_ll_tim.c.
References LL_TIM_IC_InitTypeDef::ICActiveInput, LL_TIM_IC_InitTypeDef::ICFilter, LL_TIM_IC_InitTypeDef::ICPolarity, LL_TIM_IC_InitTypeDef::ICPrescaler, LL_TIM_ACTIVEINPUT_DIRECTTI, LL_TIM_IC_FILTER_FDIV1, LL_TIM_IC_POLARITY_RISING, and LL_TIM_ICPSC_DIV1.
ErrorStatus LL_TIM_Init | ( | TIM_TypeDef * | TIMx, |
LL_TIM_InitTypeDef * | TIM_InitStruct | ||
) |
Configure the TIMx time base unit.
TIMx | Timer Instance |
TIM_InitStruct | pointer to a LL_TIM_InitTypeDef structure (TIMx time base unit configuration data structure) |
An | ErrorStatus enumeration value:
|
Definition at line 362 of file stm32h7xx_ll_tim.c.
References assert_param, LL_TIM_InitTypeDef::Autoreload, LL_TIM_InitTypeDef::ClockDivision, LL_TIM_InitTypeDef::CounterMode, IS_LL_TIM_CLOCKDIVISION, IS_LL_TIM_COUNTERMODE, LL_TIM_GenerateEvent_UPDATE(), LL_TIM_ReadReg, LL_TIM_SetAutoReload(), LL_TIM_SetPrescaler(), LL_TIM_SetRepetitionCounter(), LL_TIM_WriteReg, LL_TIM_InitTypeDef::Prescaler, and LL_TIM_InitTypeDef::RepetitionCounter.
ErrorStatus LL_TIM_OC_Init | ( | TIM_TypeDef * | TIMx, |
uint32_t | Channel, | ||
LL_TIM_OC_InitTypeDef * | TIM_OC_InitStruct | ||
) |
Configure the TIMx output channel.
TIMx | Timer Instance |
Channel | This parameter can be one of the following values: |
TIM_OC_InitStruct | pointer to a LL_TIM_OC_InitTypeDef structure (TIMx output channel configuration data structure) |
An | ErrorStatus enumeration value:
|
Definition at line 443 of file stm32h7xx_ll_tim.c.
References LL_TIM_CHANNEL_CH1, LL_TIM_CHANNEL_CH2, LL_TIM_CHANNEL_CH3, LL_TIM_CHANNEL_CH4, LL_TIM_CHANNEL_CH5, LL_TIM_CHANNEL_CH6, OC1Config(), OC2Config(), OC3Config(), OC4Config(), OC5Config(), and OC6Config().
void LL_TIM_OC_StructInit | ( | LL_TIM_OC_InitTypeDef * | TIM_OC_InitStruct | ) |
Set the fields of the TIMx output channel configuration data structure to their default values.
TIM_OC_InitStruct | pointer to a LL_TIM_OC_InitTypeDef structure (the output channel configuration data structure) |
None |
Definition at line 414 of file stm32h7xx_ll_tim.c.
References LL_TIM_OC_InitTypeDef::CompareValue, LL_TIM_OCIDLESTATE_LOW, LL_TIM_OCMODE_FROZEN, LL_TIM_OCPOLARITY_HIGH, LL_TIM_OCSTATE_DISABLE, LL_TIM_OC_InitTypeDef::OCIdleState, LL_TIM_OC_InitTypeDef::OCMode, LL_TIM_OC_InitTypeDef::OCNIdleState, LL_TIM_OC_InitTypeDef::OCNPolarity, LL_TIM_OC_InitTypeDef::OCNState, LL_TIM_OC_InitTypeDef::OCPolarity, and LL_TIM_OC_InitTypeDef::OCState.
void LL_TIM_StructInit | ( | LL_TIM_InitTypeDef * | TIM_InitStruct | ) |
Set the fields of the time base unit configuration data structure to their default values.
TIM_InitStruct | pointer to a LL_TIM_InitTypeDef structure (time base unit configuration data structure) |
None |
Definition at line 343 of file stm32h7xx_ll_tim.c.
References LL_TIM_InitTypeDef::Autoreload, LL_TIM_InitTypeDef::ClockDivision, LL_TIM_InitTypeDef::CounterMode, LL_TIM_CLOCKDIVISION_DIV1, LL_TIM_COUNTERMODE_UP, LL_TIM_InitTypeDef::Prescaler, and LL_TIM_InitTypeDef::RepetitionCounter.