[][src]Type Definition esp32::ledc::ledc_lsch5_conf1_reg::W

type W = W<u32, LEDC_LSCH5_CONF1_REG>;

Writer for register LEDC_LSCH5_CONF1_REG

Methods

impl W[src]

pub fn ledc_duty_start_lsch5(&mut self) -> LEDC_DUTY_START_LSCH5_W[src]

Bit 31 - When reg_duty_num_hsch4 reg_duty_cycle_hsch4 and reg_duty_scale_hsch4 has been configured. these register won't take effect until set reg_duty_start_hsch4. this bit is automatically cleared by hardware.

pub fn ledc_duty_inc_lsch5(&mut self) -> LEDC_DUTY_INC_LSCH5_W[src]

Bit 30 - This register is used to increase the duty of output signal or decrease the duty of output signal for low speed channel5.

pub fn ledc_duty_num_lsch5(&mut self) -> LEDC_DUTY_NUM_LSCH5_W[src]

Bits 20:29 - This register is used to control the num of increased or decreased times for low speed channel5.

pub fn ledc_duty_cycle_lsch5(&mut self) -> LEDC_DUTY_CYCLE_LSCH5_W[src]

Bits 10:19 - This register is used to increase or decrease the duty every reg_duty_cycle_lsch5 cycles for low speed channel4.

pub fn ledc_duty_scale_lsch5(&mut self) -> LEDC_DUTY_SCALE_LSCH5_W[src]

Bits 0:9 - This register controls the increase or decrease step scale for low speed channel5.