pub struct R(_);
Expand description
Register CH%s_CONF1
reader
Implementations
sourceimpl R
impl R
sourcepub fn duty_scale_ch0(&self) -> DUTY_SCALE_CH0_R
pub fn duty_scale_ch0(&self) -> DUTY_SCALE_CH0_R
Bits 0:9 - This register is used to configure the changing step scale of duty on channel %s.
sourcepub fn duty_cycle_ch0(&self) -> DUTY_CYCLE_CH0_R
pub fn duty_cycle_ch0(&self) -> DUTY_CYCLE_CH0_R
Bits 10:19 - The duty will change every LEDC_DUTY_CYCLE_CH%s on channel %s.
sourcepub fn duty_num_ch0(&self) -> DUTY_NUM_CH0_R
pub fn duty_num_ch0(&self) -> DUTY_NUM_CH0_R
Bits 20:29 - This register is used to control the number of times the duty cycle will be changed.
sourcepub fn duty_inc_ch0(&self) -> DUTY_INC_CH0_R
pub fn duty_inc_ch0(&self) -> DUTY_INC_CH0_R
Bit 30 - This register is used to increase or decrease the duty of output signal on channel %s. 1: Increase; 0: Decrease.
sourcepub fn duty_start_ch0(&self) -> DUTY_START_CH0_R
pub fn duty_start_ch0(&self) -> DUTY_START_CH0_R
Bit 31 - Other configured fields in LEDC_CH%s_CONF1_REG will start to take effect when this bit is set to 1.
Methods from Deref<Target = R<CH_CONF1_SPEC>>
Trait Implementations
sourceimpl From<R<CH_CONF1_SPEC>> for R
impl From<R<CH_CONF1_SPEC>> for R
sourcefn from(reader: R<CH_CONF1_SPEC>) -> Self
fn from(reader: R<CH_CONF1_SPEC>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more