EasyManuals Logo

Espressif ESP32-S2 User Manual

Espressif ESP32-S2
1695 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #338 background imageLoading...
Page #338 background image
Chapter 2. API Reference
Enumerations
enum ledc_mode_t
Values:
LEDC_LOW_SPEED_MODE
LEDC low speed speed_mode
LEDC_SPEED_MODE_MAX
LEDC speed limit
enum ledc_intr_type_t
Values:
LEDC_INTR_DISABLE = 0
Disable LEDC interrupt
LEDC_INTR_FADE_END
Enable LEDC interrupt
LEDC_INTR_MAX
enum ledc_duty_direction_t
Values:
LEDC_DUTY_DIR_DECREASE = 0
LEDC duty decrease direction
LEDC_DUTY_DIR_INCREASE = 1
LEDC duty increase direction
LEDC_DUTY_DIR_MAX
enum ledc_slow_clk_sel_t
Values:
LEDC_SLOW_CLK_RTC8M = 0
LEDC low speed timer clock source is 8MHz RTC clock
LEDC_SLOW_CLK_APB
LEDC low speed timer clock source is 80MHz APB clock
LEDC_SLOW_CLK_XTAL
LEDC low speed timer clock source XTAL clock
enum ledc_clk_cfg_t
Values:
LEDC_AUTO_CLK = 0
The driver will automatically select the source clock(REF_TICK or APB) based on the giving resolution
and duty parameter when init the timer
LEDC_USE_REF_TICK
LEDC timer select REF_TICK clock as source clock
LEDC_USE_APB_CLK
LEDC timer select APB clock as source clock
LEDC_USE_RTC8M_CLK
LEDC timer select RTC8M_CLK as source clock. Only for low speed channels and this parameter must
be the same for all low speed channels
LEDC_USE_XTAL_CLK
LEDC timer select XTAL clock as source clock
enum ledc_clk_src_t
Values:
LEDC_REF_TICK = LEDC_USE_REF_TICK
LEDC timer clock divided from reference tick (1Mhz)
Espressif Systems 327
Submit Document Feedback
Release v4.4

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Espressif ESP32-S2 and is the answer not in the manual?

Espressif ESP32-S2 Specifications

General IconGeneral
BrandEspressif
ModelESP32-S2
CategorySingle board computers
LanguageEnglish