[][src]Struct e310x::pwm0::cfg::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 cmp3ip(&self) -> CMP3IPR[src]

Bit 31

pub fn cmp2ip(&self) -> CMP2IPR[src]

Bit 30

pub fn cmp1ip(&self) -> CMP1IPR[src]

Bit 29

pub fn cmp0ip(&self) -> CMP0IPR[src]

Bit 28

pub fn cmp3gang(&self) -> CMP3GANGR[src]

Bit 27

pub fn cmp2gang(&self) -> CMP2GANGR[src]

Bits 26:36

pub fn cmp1gang(&self) -> CMP1GANGR[src]

Bit 25

pub fn cmp0gang(&self) -> CMP0GANGR[src]

Bit 24

pub fn cmp3center(&self) -> CMP3CENTERR[src]

Bit 19

pub fn cmp2center(&self) -> CMP2CENTERR[src]

Bit 18

pub fn cmp1center(&self) -> CMP1CENTERR[src]

Bit 17

pub fn cmp0center(&self) -> CMP0CENTERR[src]

Bit 16

pub fn enoneshot(&self) -> ENONESHOTR[src]

Bit 13

pub fn enalways(&self) -> ENALWAYSR[src]

Bit 12

pub fn deglitch(&self) -> DEGLITCHR[src]

Bit 10

pub fn zerocmp(&self) -> ZEROCMPR[src]

Bit 9

pub fn sticky(&self) -> STICKYR[src]

Bit 8

pub fn scale(&self) -> SCALER[src]

Bits 0:3

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 = Infallible

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

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]