[][src]Struct xmc4200::dac::dac0cfg1::SCALE_W

pub struct SCALE_W<'a> { /* fields omitted */ }

Write proxy for field SCALE

Implementations

impl<'a> SCALE_W<'a>[src]

pub fn variant(self, variant: SCALE_A) -> &'a mut W[src]

Writes variant to the field

pub fn value1(self) -> &'a mut W[src]

no shift = multiplication/division by 1

pub fn value2(self) -> &'a mut W[src]

shift by 1 = multiplication/division by 2

pub fn value3(self) -> &'a mut W[src]

shift by 2 = multiplication/division by 4

pub fn value4(self) -> &'a mut W[src]

shift left by 3 = multiplication/division by 8

pub fn value5(self) -> &'a mut W[src]

shift left by 4 = multiplication/division by 16

pub fn value6(self) -> &'a mut W[src]

shift left by 5 = multiplication/division by 32

pub fn value7(self) -> &'a mut W[src]

shift left by 6 = multiplication/division by 64

pub fn value8(self) -> &'a mut W[src]

shift left by 7 = multiplication/division by 128

pub fn bits(self, value: u8) -> &'a mut W[src]

Writes raw bits to the field

Auto Trait Implementations

impl<'a> Send for SCALE_W<'a>

impl<'a> !Sync for SCALE_W<'a>

impl<'a> Unpin for SCALE_W<'a>

Blanket Implementations

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

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

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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> 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.