UM1940
Parameters
Return values
LL_TIM_Init
Function name
Function description
Parameters
Return values
LL_TIM_OC_StructInit
Function name
Function description
Parameters
Return values
LL_TIM_OC_Init
Function name
Function description
Parameters
Return values
LL_TIM_IC_StructInit
Function name
their default values.
TIM_InitStruct: pointer to a LL_TIM_InitTypeDef structure
(time base unit configuration data structure)
None:
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:
SUCCESS: TIMx registers are de-initialized
ERROR: not applicable
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:
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:
LL_TIM_CHANNEL_CH1
LL_TIM_CHANNEL_CH2
LL_TIM_CHANNEL_CH3
LL_TIM_CHANNEL_CH4
TIM_OC_InitStruct: pointer to a LL_TIM_OC_InitTypeDef
structure (TIMx output channel configuration data structure)
An: ErrorStatus enumeration value:
SUCCESS: TIMx output channel is initialized
ERROR: TIMx output channel is not initialized
void LL_TIM_IC_StructInit (LL_TIM_IC_InitTypeDef *
DocID028236 Rev 2
LL TIM Generic Driver
1227/1371
Need help?
Do you have a question about the STM32F2 and is the answer not in the manual?