[][src]Struct tmc2209::reg::PWM_SCALE

pub struct PWM_SCALE(pub u32);

Implementations

impl PWM_SCALE[src]

pub fn pwm_scale_sum(&self) -> u8[src]

pub fn pwm_scale_auto(&self) -> u16[src]

Trait Implementations

impl<T> BitRange<T> for PWM_SCALE where
    u32: BitRange<T>, 
[src]

impl Clone for PWM_SCALE[src]

impl Copy for PWM_SCALE[src]

impl Debug for PWM_SCALE[src]

impl From<u32> for PWM_SCALE[src]

impl Into<u32> for PWM_SCALE[src]

impl ReadableRegister for PWM_SCALE[src]

impl Register for PWM_SCALE[src]

Auto Trait Implementations

impl Send for PWM_SCALE

impl Sync for PWM_SCALE

impl Unpin for PWM_SCALE

Blanket Implementations

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

impl<T> Bit for T where
    T: BitRange<u8>, 
[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, 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.