Download Print this page

Espressif ESP32 Technical Reference Manual page 403

Hide thumbs Also See for ESP32:

Advertisement

14 LED PWM Controller (LEDC)
Register 14.11. LEDC_HSTIMERx_CONF_REG (x: 0-3) (0x140+8*x)
31
26
25
0x00
0
LEDC_TICK_SEL_HSTIMERx
x. (R/W)
1: APB_CLK;
0: REF_TICK.
LEDC_HSTIMERx_RST This bit is used to reset high-speed timer x. The counter value will be 'zero'
after reset. (R/W)
LEDC_HSTIMERx_PAUSE This bit is used to suspend the counter in high-speed timer x. (R/W)
LEDC_CLK_DIV_NUM_HSTIMERx
in high-speed timer x. The least significant eight bits represent the fractional part. (R/W)
LEDC_HSTIMERx_DUTY_RES This register is used to control the range of the counter in high-speed
timer x. The counter range is [0, 2
counter is 20. (R/W)
Register 14.12. LEDC_HSTIMERx_VALUE_REG (x: 0-3) (0x144+8*x)
31
0x0000
LEDC_HSTIMERx_CNT Software can read this register to get the current counter value of high-
speed timer x. (RO)
Espressif Systems
24
23
22
1
0
This bit is used to select APB_CLK or REF_TICK for high-speed timer
This register is used to configure the division factor for the divider
LEDC_HST IM ERx_DU T Y _RES
20
19
0
0
0
Submit Documentation Feedback
0x00000
0
0
0
0
0
0
0
0
403
5
4
0x00
], the maximum bit width for
0
0
0
0
0
0
0
0
ESP32 TRM (Version 5.2)
0
Reset
0
0
Reset

Advertisement

loading
Need help?

Need help?

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

Subscribe to Our Youtube Channel