[][src]Struct e310x::pwm0::cfg::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

pub fn reset_value() -> W[src]

Reset value of the register

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self[src]

Writes raw bits to the register

pub fn cmp3ip(&mut self) -> _CMP3IPW[src]

Bit 31

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

Bit 30

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

Bit 29

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

Bit 28

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

Bit 27

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

Bits 26:36

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

Bit 25

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

Bit 24

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

Bit 19

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

Bit 18

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

Bit 17

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

Bit 16

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

Bit 13

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

Bit 12

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

Bit 10

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

Bit 9

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

Bit 8

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

Bits 0:3

Auto Trait Implementations

impl Unpin for W

impl Sync for W

impl Send for W

Blanket Implementations

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

type Error = Infallible

The type returned in the event of a conversion error.

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

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> 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> Borrow<T> for T where
    T: ?Sized
[src]

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

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