Struct nrf52811_pac::pwm0::countertop::W
source · [−]pub struct W(_);
Expand description
Register COUNTERTOP
writer
Implementations
sourceimpl W
impl W
sourcepub fn countertop(&mut self) -> COUNTERTOP_W<'_, 0>
pub fn countertop(&mut self) -> COUNTERTOP_W<'_, 0>
Bits 0:14 - Value up to which the pulse generator counter counts. This register is ignored when DECODER.MODE=WaveForm and only values from RAM are used.
Methods from Deref<Target = W<COUNTERTOP_SPEC>>
Trait Implementations
sourceimpl From<W<COUNTERTOP_SPEC>> for W
impl From<W<COUNTERTOP_SPEC>> for W
sourcefn from(writer: W<COUNTERTOP_SPEC>) -> Self
fn from(writer: W<COUNTERTOP_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