HAL
+ 0/1 examples
CodeScope will show references to
LL_TIM_OC_Init()
from the following samples and libraries:
Examples
STM32F411RE-Nucleo
Examples_LL
TIM
TIM_PWMOutput_Init
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
HAL
LL_TIM_OC_Init()
LL_TIM_OC_Init() function
Configure the TIMx output channel.
Syntax
from
stm32f4xx_ll_tim.h:4064
ErrorStatus
LL_TIM_OC_Init
(
TIM_TypeDef
*
TIMx
,
uint32_t
Channel
,
const
LL_TIM_OC_InitTypeDef
*
TIM_OC_InitStruct
)
;
Implemented in
stm32f4xx_ll_tim.c:383
Arguments
TIMx
Timer Instance
Channel
This parameter can be one of the following values: @arg
LL_TIM_CHANNEL_CH1
@arg
LL_TIM_CHANNEL_CH2
@arg
LL_TIM_CHANNEL_CH3
@arg
LL_TIM_CHANNEL_CH4
TIM_OC_InitStruct
pointer to a
LL_TIM_OC_InitTypeDef
structure (TIMx output channel configuration data structure)
Return value
An ErrorStatus enumeration value: - SUCCESS: TIMx output channel is initialized - ERROR: TIMx output channel is not initialized
Examples
LL_TIM_OC_Init()
is referenced by
1 libraries and example projects
.
References
Location
Text
stm32f4xx_ll_tim.c:383
ErrorStatus
LL_TIM_OC_Init
(
TIM_TypeDef
*
TIMx
,
uint32_t
Channel
,
const
LL_TIM_OC_InitTypeDef
*
TIM_OC_InitStruct
)
stm32f4xx_ll_tim.h:4064
ErrorStatus
LL_TIM_OC_Init
(
TIM_TypeDef
*
TIMx
,
uint32_t
Channel
,
const
LL_TIM_OC_InitTypeDef
*
TIM_OC_InitStruct
)
;
Call Tree
Functions called by
LL_TIM_OC_Init()
LL_TIM_OC_Init()
OC1Config()
OC2Config()
OC3Config()
OC4Config()
all items filtered out
Data read by
LL_TIM_OC_Init()
Data written by
LL_TIM_OC_Init()
ErrorStatus::ERROR
LL_TIM_OC_Init()::TIMx
LL_TIM_OC_Init()::Channel
LL_TIM_OC_Init()::TIM_OC_InitStruct
LL_TIM_OC_Init()::result
all items filtered out
LL_TIM_OC_Init()
LL_TIM_OC_Init()::result
all items filtered out
Type of
LL_TIM_OC_Init()
LL_TIM_OC_Init()
ErrorStatus
ErrorStatus
all items filtered out