Struct nrf52832_pac::pwm0::countertop::R
source · [−]pub struct R(_);
Expand description
Register COUNTERTOP
reader
Implementations
sourceimpl R
impl R
sourcepub fn countertop(&self) -> COUNTERTOP_R
pub fn countertop(&self) -> COUNTERTOP_R
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 will be used.
Methods from Deref<Target = R<COUNTERTOP_SPEC>>
Trait Implementations
sourceimpl From<R<COUNTERTOP_SPEC>> for R
impl From<R<COUNTERTOP_SPEC>> for R
sourcefn from(reader: R<COUNTERTOP_SPEC>) -> Self
fn from(reader: R<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