Struct atmega_hal::port::Pins

source ·
pub struct Pins {
Show 23 fields pub pb0: Pin<Input<Floating>, PB0>, pub pb1: Pin<Input<Floating>, PB1>, pub pb2: Pin<Input<Floating>, PB2>, pub pb3: Pin<Input<Floating>, PB3>, pub pb4: Pin<Input<Floating>, PB4>, pub pb5: Pin<Input<Floating>, PB5>, pub pb6: Pin<Input<Floating>, PB6>, pub pb7: Pin<Input<Floating>, PB7>, pub pc0: Pin<Input<Floating>, PC0>, pub pc1: Pin<Input<Floating>, PC1>, pub pc2: Pin<Input<Floating>, PC2>, pub pc3: Pin<Input<Floating>, PC3>, pub pc4: Pin<Input<Floating>, PC4>, pub pc5: Pin<Input<Floating>, PC5>, pub pc6: Pin<Input<Floating>, PC6>, pub pd0: Pin<Input<Floating>, PD0>, pub pd1: Pin<Input<Floating>, PD1>, pub pd2: Pin<Input<Floating>, PD2>, pub pd3: Pin<Input<Floating>, PD3>, pub pd4: Pin<Input<Floating>, PD4>, pub pd5: Pin<Input<Floating>, PD5>, pub pd6: Pin<Input<Floating>, PD6>, pub pd7: Pin<Input<Floating>, PD7>,
}

Fields§

§pb0: Pin<Input<Floating>, PB0>§pb1: Pin<Input<Floating>, PB1>§pb2: Pin<Input<Floating>, PB2>§pb3: Pin<Input<Floating>, PB3>§pb4: Pin<Input<Floating>, PB4>§pb5: Pin<Input<Floating>, PB5>§pb6: Pin<Input<Floating>, PB6>§pb7: Pin<Input<Floating>, PB7>§pc0: Pin<Input<Floating>, PC0>§pc1: Pin<Input<Floating>, PC1>§pc2: Pin<Input<Floating>, PC2>§pc3: Pin<Input<Floating>, PC3>§pc4: Pin<Input<Floating>, PC4>§pc5: Pin<Input<Floating>, PC5>§pc6: Pin<Input<Floating>, PC6>§pd0: Pin<Input<Floating>, PD0>§pd1: Pin<Input<Floating>, PD1>§pd2: Pin<Input<Floating>, PD2>§pd3: Pin<Input<Floating>, PD3>§pd4: Pin<Input<Floating>, PD4>§pd5: Pin<Input<Floating>, PD5>§pd6: Pin<Input<Floating>, PD6>§pd7: Pin<Input<Floating>, PD7>

Implementations§

source§

impl Pins

source

pub fn new(_: PORTB, _: PORTC, _: PORTD) -> Self

Auto Trait Implementations§

§

impl Freeze for Pins

§

impl RefUnwindSafe for Pins

§

impl Send for Pins

§

impl Sync for Pins

§

impl Unpin for Pins

§

impl UnwindSafe for Pins

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.