Module esp32s2::ledc::ch_conf0

source ·
Expand description

Configuration register 0 for channel %s

Structs§

Type Aliases§

  • Field IDLE_LV reader - This bit is used to control the output value when channel %s is inactive.
  • Field IDLE_LV writer - This bit is used to control the output value when channel %s is inactive.
  • 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 register LEDC_CH%s_HPOINT and LEDC_CH%s_DUTY for channel %s.
  • Register CH%s_CONF0 reader
  • 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 timer 0. 1: select timer 1. 2: select timer 2. 3: select timer 3.
  • Field TIMER_SEL writer - This field is used to select one of timers for channel %s. 0: select timer 0. 1: select timer 1. 2: select timer 2. 3: select timer 3.
  • Register CH%s_CONF0 writer