Module esp32s3::ledc::ch_conf0

source ·
Expand description

Configuration register 0 for channel %s

Structs

Configuration register 0 for channel %s
Register CH%s_CONF0 reader
Register CH%s_CONF0 writer

Type Definitions

Field IDLE_LV reader - This bit is used to control the output value when channel %s is inactive (when LEDC_SIG_OUT_EN_CH%s is 0).
Field IDLE_LV writer - This bit is used to control the output value when channel %s is inactive (when LEDC_SIG_OUT_EN_CH%s is 0).
Field OVF_CNT_EN reader - This bit is used to enable the ovf_cnt of channel %s.
Field OVF_CNT_EN writer - This bit is used to enable the ovf_cnt of channel %s.
Field OVF_CNT_RESET_ST reader - This is the status bit of LEDC_OVF_CNT_RESET_CH%s.
Field OVF_CNT_RESET writer - Set this bit to reset the ovf_cnt of channel %s.
Field OVF_NUM reader - This register is used to configure the maximum times of overflow minus 1. The LEDC_OVF_CNT_CH%s_INT interrupt will be triggered when channel %s overflows for (LEDC_OVF_NUM_CH%s + 1) times.
Field OVF_NUM writer - This register is used to configure the maximum times of overflow minus 1. The LEDC_OVF_CNT_CH%s_INT interrupt will be triggered when channel %s overflows for (LEDC_OVF_NUM_CH%s + 1) times.
Field PARA_UP writer - This bit is used to update LEDC_HPOINT_CH%s, LEDC_DUTY_START_CH%s, LEDC_SIG_OUT_EN_CH%s, LEDC_TIMER_SEL_CH%s, LEDC_DUTY_NUM_CH%s, LEDC_DUTY_CYCLE_CH%s, LEDC_DUTY_SCALE_CH%s, LEDC_DUTY_INC_CH%s, and LEDC_OVF_CNT_EN_CH%s fields for channel %s, and will be automatically cleared by hardware.
Field SIG_OUT_EN reader - Set this bit to enable signal output on channel %s.
Field SIG_OUT_EN writer - Set this bit to enable signal output on channel %s.
Field TIMER_SEL reader - This field is used to select one of timers for channel %s. 0: select timer0 1: select timer1 2: select timer2 3: select timer3
Field TIMER_SEL writer - This field is used to select one of timers for channel %s. 0: select timer0 1: select timer1 2: select timer2 3: select timer3