ESP-IDF
ledc_hal_get_channel_timer
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (4/5)...
Files
loading (4/5)...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ledc_hal_get_channel_timer
ledc_hal_get_channel_timer macro
Get timer index of the specified channel
Syntax
Show:
Summary
Declaration
from
ledc_hal.h:239
#define
ledc_hal_get_channel_timer
(
hal
,
channel_num
,
timer_sel
)
ledc_ll_get_channel_timer
(
(
hal
)
->
dev
,
(
hal
)
->
speed_mode
,
channel_num
,
timer_sel
)
Arguments
Argument
Description
hal
Context of the HAL layer
channel_num
LEDC channel index (0-7), select from ledc_channel_t
timer_sel
Pointer to accept the LEDC timer index
Return value
None
Examples
References
from
examples
Code
Location
#define
ledc_hal_get_channel_timer
(
hal
,
channel_num
,
timer_sel
)
ledc_ll_get_channel_timer
(
(
hal
)
->
dev
,
(
hal
)
->
speed_mode
,
channel_num
,
timer_sel
)
ledc_hal.h:239
ledc_hal_get_channel_timer
(
&
(
p_ledc_obj
[
speed_mode
]
->
ledc_hal
)
,
channel
,
&
timer_sel
)
;
ledc.c:244
ledc_hal_get_channel_timer
(
&
(
p_ledc_obj
[
speed_mode
]
->
ledc_hal
)
,
channel
,
&
old_timer_sel
)
;
ledc.c:341
ledc_hal_get_channel_timer
(
&
(
p_ledc_obj
[
speed_mode
]
->
ledc_hal
)
,
channel
,
&
timer_sel
)
;
ledc.c:1379
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out