Struct rp2040_pac2::pads::vals::VoltageSelect[][src]

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

Implementations

impl VoltageSelect[src]

pub const _3V3: Self[src]

Set voltage to 3.3V (DVDD >= 2V5)

pub const _1V8: Self[src]

Set voltage to 1.8V (DVDD <= 1V8)

Trait Implementations

impl Clone for VoltageSelect[src]

impl Copy for VoltageSelect[src]

Auto Trait Implementations

impl Send for VoltageSelect

impl Sync for VoltageSelect

impl Unpin for VoltageSelect

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.