pub struct W(/* private fields */);
Expand description
Register pcr%s
writer
Implementations§
source§impl W
impl W
sourcepub fn pwm_prescal_k(&mut self) -> PWM_PRESCAL_K_W<'_, 0>
pub fn pwm_prescal_k(&mut self) -> PWM_PRESCAL_K_W<'_, 0>
Bits 0:7 - PWM pre-scale K, actual pre-scale is (K + 1)
sourcepub fn pwm_act_sta(&mut self) -> PWM_ACT_STA_W<'_, 8>
pub fn pwm_act_sta(&mut self) -> PWM_ACT_STA_W<'_, 8>
Bit 8 - PWM Active State
sourcepub fn pwm_mode(&mut self) -> PWM_MODE_W<'_, 9>
pub fn pwm_mode(&mut self) -> PWM_MODE_W<'_, 9>
Bit 9 - PWM Output Mode Select
sourcepub fn pwm_pul_start(&mut self) -> PWM_PUL_START_W<'_, 10>
pub fn pwm_pul_start(&mut self) -> PWM_PUL_START_W<'_, 10>
Bit 10 - PWM Pulse Output Start
sourcepub fn pwm_pul_num(&mut self) -> PWM_PUL_NUM_W<'_, 16>
pub fn pwm_pul_num(&mut self) -> PWM_PUL_NUM_W<'_, 16>
Bits 16:31 - In pulse mode, the PWM outputs pulse for PWM_CYCLE_NUM + 1 times and then stops
Methods from Deref<Target = W<PCR_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for W
impl RefUnwindSafe for W
impl Send for W
impl Sync for W
impl Unpin for W
impl UnwindSafe for W
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