Type Alias R

Source
pub type R = R<CONF1_SPEC>;
Expand description

Register CONF1 reader

Aliased Type§

pub struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn duty_scale(&self) -> DUTY_SCALE_R

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

Source

pub fn duty_cycle(&self) -> DUTY_CYCLE_R

Bits 10:19 - This register is used to increase or decrease the duty every reg_duty_cycle_hsch0 cycles for high speed channel0.

Source

pub fn duty_num(&self) -> DUTY_NUM_R

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

Source

pub fn duty_inc(&self) -> DUTY_INC_R

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

Source

pub fn duty_start(&self) -> DUTY_START_R

Bit 31 - When reg_duty_num_hsch0 reg_duty_cycle_hsch0 and reg_duty_scale_hsch0 has been configured. these register won’t take effect until set reg_duty_start_hsch0. this bit is automatically cleared by hardware.