[][src]Struct sam3x8e::pwm::cmpm0::R

pub struct R { /* fields omitted */ }

Value read from the register

Methods

impl R[src]

pub fn bits(&self) -> u32[src]

Value of the register as raw bits

pub fn cen(&self) -> CENR[src]

Bit 0 - Comparison x Enable

pub fn ctr(&self) -> CTRR[src]

Bits 4:7 - Comparison x Trigger

pub fn cpr(&self) -> CPRR[src]

Bits 8:11 - Comparison x Period

pub fn cprcnt(&self) -> CPRCNTR[src]

Bits 12:15 - Comparison x Period Counter

pub fn cupr(&self) -> CUPRR[src]

Bits 16:19 - Comparison x Update Period

pub fn cuprcnt(&self) -> CUPRCNTR[src]

Bits 20:23 - Comparison x Update Period Counter

Auto Trait Implementations

impl Send for R

impl Sync for R

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]