[][src]Enum xmc4200::dac::dac1cfg1::SCALE_A

#[repr(u8)]pub enum SCALE_A {
    VALUE1,
    VALUE2,
    VALUE3,
    VALUE4,
    VALUE5,
    VALUE6,
    VALUE7,
    VALUE8,
}

Scale value for up- or downscale of the DAC1 input data in steps by the power of 2 (=shift operation)

Value on reset: 0

Variants

VALUE1

0: no shift = multiplication/division by 1

VALUE2

1: shift by 1 = multiplication/division by 2

VALUE3

2: shift by 2 = multiplication/division by 4

VALUE4

3: shift left by 3 = multiplication/division by 8

VALUE5

4: shift left by 4 = multiplication/division by 16

VALUE6

5: shift left by 5 = multiplication/division by 32

VALUE7

6: shift left by 6 = multiplication/division by 64

VALUE8

7: shift left by 7 = multiplication/division by 128

Trait Implementations

impl Clone for SCALE_A[src]

impl Copy for SCALE_A[src]

impl Debug for SCALE_A[src]

impl From<SCALE_A> for u8[src]

impl PartialEq<SCALE_A> for SCALE_A[src]

impl StructuralPartialEq for SCALE_A[src]

Auto Trait Implementations

impl Send for SCALE_A

impl Sync for SCALE_A

impl Unpin for SCALE_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.