pub struct R(/* private fields */);
Expand description
Register pcr%s
reader
Implementations§
source§impl R
impl R
sourcepub fn pwm_prescal_k(&self) -> PWM_PRESCAL_K_R
pub fn pwm_prescal_k(&self) -> PWM_PRESCAL_K_R
Bits 0:7 - PWM pre-scale K, actual pre-scale is (K + 1)
sourcepub fn pwm_act_sta(&self) -> PWM_ACT_STA_R
pub fn pwm_act_sta(&self) -> PWM_ACT_STA_R
Bit 8 - PWM Active State
sourcepub fn pwm_mode(&self) -> PWM_MODE_R
pub fn pwm_mode(&self) -> PWM_MODE_R
Bit 9 - PWM Output Mode Select
sourcepub fn pwm_pul_start(&self) -> PWM_PUL_START_R
pub fn pwm_pul_start(&self) -> PWM_PUL_START_R
Bit 10 - PWM Pulse Output Start
sourcepub fn pwm_period_rdy(&self) -> PWM_PERIOD_RDY_R
pub fn pwm_period_rdy(&self) -> PWM_PERIOD_RDY_R
Bit 11 - PWM Period Register Ready
sourcepub fn pwm_pul_num(&self) -> PWM_PUL_NUM_R
pub fn pwm_pul_num(&self) -> PWM_PUL_NUM_R
Bits 16:31 - In pulse mode, the PWM outputs pulse for PWM_CYCLE_NUM + 1 times and then stops
Methods from Deref<Target = R<PCR_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for R
impl RefUnwindSafe for R
impl Send for R
impl Sync for R
impl Unpin for R
impl UnwindSafe for R
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more