Struct rp2040_pac2::pwm::vals::Divmode[][src]

#[repr(transparent)]pub struct Divmode(pub u8);

Implementations

impl Divmode[src]

pub const DIV: Self[src]

Free-running counting at rate dictated by fractional divider

pub const LEVEL: Self[src]

Fractional divider operation is gated by the PWM B pin.

pub const RISE: Self[src]

Counter advances with each rising edge of the PWM B pin.

pub const FALL: Self[src]

Counter advances with each falling edge of the PWM B pin.

Trait Implementations

impl Clone for Divmode[src]

impl Copy for Divmode[src]

Auto Trait Implementations

impl Send for Divmode

impl Sync for Divmode

impl Unpin for Divmode

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