Module esp32c2::ledc::ch_conf1

source ·
Expand description

Configuration register 1 for channel %s

Structs

Configuration register 1 for channel %s
Register CH%s_CONF1 reader
Register CH%s_CONF1 writer

Type Definitions

Field DUTY_CYCLE reader - The duty will change every LEDC_DUTY_CYCLE_CH%s on channel %s.
Field DUTY_CYCLE writer - The duty will change every LEDC_DUTY_CYCLE_CH%s on channel %s.
Field DUTY_INC reader - This register is used to increase or decrease the duty of output signal on channel %s. 1: Increase; 0: Decrease.
Field DUTY_INC writer - This register is used to increase or decrease the duty of output signal on channel %s. 1: Increase; 0: Decrease.
Field DUTY_NUM reader - This register is used to control the number of times the duty cycle will be changed.
Field DUTY_NUM writer - This register is used to control the number of times the duty cycle will be changed.
Field DUTY_SCALE reader - This register is used to configure the changing step scale of duty on channel %s.
Field DUTY_SCALE writer - This register is used to configure the changing step scale of duty on channel %s.
Field DUTY_START reader - Other configured fields in LEDC_CH%s_CONF1_REG will start to take effect when this bit is set to 1.
Field DUTY_START writer - Other configured fields in LEDC_CH%s_CONF1_REG will start to take effect when this bit is set to 1.