ESP-IDF
+
0
/6 examples
SourceVu will show references to
ledc_get_duty()
from the following samples and libraries:
aligenie_demo sample
df_client sample
df_server sample
rpr_client sample
rpr_server sample
unprov_dev sample
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
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_get_duty()
ledc_get_duty() function
LEDC get duty This function returns the duty at the present PWM cycle. You shouldn't expect the function to return the new duty in the same cycle of calling ledc_update_duty, because duty update doesn't take effect until the next cycle.
Syntax
Show:
Summary
Declaration
Definition
from
ledc.h:310
uint32_t
ledc_get_duty
(
ledc_mode_t
speed_mode
,
ledc_channel_t
channel
)
;
Implemented in
ledc.c:1075
Arguments
Argument
Description
speed_mode
Select the LEDC channel group with specified speed mode. Note that not all targets support high speed mode.
channel
LEDC channel (0 - LEDC_CHANNEL_MAX-1), select from ledc_channel_t
Return value
- LEDC_ERR_DUTY if parameter error - Others Current LEDC duty
Examples
ledc_get_duty()
is referenced by 6 libraries and example projects:
References
from
examples
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