pub struct Pins {
    pub pa02: Pin<PA02, Reset>,
    pub pa04: Pin<PA04, Reset>,
    pub pa05: Pin<PA05, Reset>,
    pub pa08: Pin<PA08, Reset>,
    pub pa09: Pin<PA09, Reset>,
    pub pa14: Pin<PA14, Reset>,
    pub pa15: Pin<PA15, Reset>,
    pub pa24: Pin<PA24, Reset>,
    pub pa25: Pin<PA25, Reset>,
    pub pa28: Pin<PA28, Reset>,
    pub pa30: Pin<PA30, Reset>,
    pub pa31: Pin<PA31, Reset>,
    /* private fields */
}
Expand description

Collection of all the individual Pins

Fields

pa02: Pin<PA02, Reset>

Pin PA02

pa04: Pin<PA04, Reset>

Pin PA04

pa05: Pin<PA05, Reset>

Pin PA05

pa08: Pin<PA08, Reset>

Pin PA08

pa09: Pin<PA09, Reset>

Pin PA09

pa14: Pin<PA14, Reset>

Pin PA14

pa15: Pin<PA15, Reset>

Pin PA15

pa24: Pin<PA24, Reset>

Pin PA24

pa25: Pin<PA25, Reset>

Pin PA25

pa28: Pin<PA28, Reset>

Pin PA28

pa30: Pin<PA30, Reset>

Pin PA30

pa31: Pin<PA31, Reset>

Pin PA31

Implementations

Take ownership of the PAC PORT and split it into discrete Pins

Take the PAC PORT

The PORT can only be taken once. Subsequent calls to this function will panic.

Safety

Direct access to the PORT could allow you to invalidate the compiler’s type-level tracking, so it is unsafe.

PORT

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.