[−][src]Type Definition esp32::ledc::ledc_hsch2_conf1_reg::R
type R = R<u32, LEDC_HSCH2_CONF1_REG>;
Reader of register LEDC_HSCH2_CONF1_REG
Methods
impl R
[src]
pub fn ledc_duty_start_hsch2(&self) -> LEDC_DUTY_START_HSCH2_R
[src]
Bit 31 - When reg_duty_num_hsch2 reg_duty_cycle_hsch2 and reg_duty_scale_hsch2 has been configured. these register won't take effect until set reg_duty_start_hsch2. this bit is automatically cleared by hardware.
pub fn ledc_duty_inc_hsch2(&self) -> LEDC_DUTY_INC_HSCH2_R
[src]
Bit 30 - This register is used to increase the duty of output signal or decrease the duty of output signal for high speed channel2.
pub fn ledc_duty_num_hsch2(&self) -> LEDC_DUTY_NUM_HSCH2_R
[src]
Bits 20:29 - This register is used to control the num of increased or decreased times for high speed channel2.
pub fn ledc_duty_cycle_hsch2(&self) -> LEDC_DUTY_CYCLE_HSCH2_R
[src]
Bits 10:19 - This register is used to increase or decrease the duty every reg_duty_cycle_hsch2 cycles for high speed channel2.
pub fn ledc_duty_scale_hsch2(&self) -> LEDC_DUTY_SCALE_HSCH2_R
[src]
Bits 0:9 - This register controls the increase or decrease step scale for high speed channel2.