atsamd_hal::gpio::pin

Struct Pins

Source
pub struct Pins {
Show 81 fields pub pa00: Pin<PA00, Reset>, pub pa01: Pin<PA01, Reset>, pub pa02: Pin<PA02, Reset>, pub pa03: Pin<PA03, Reset>, pub pa04: Pin<PA04, Reset>, pub pa05: Pin<PA05, Reset>, pub pa06: Pin<PA06, Reset>, pub pa07: Pin<PA07, Reset>, pub pa08: Pin<PA08, Reset>, pub pa09: Pin<PA09, Reset>, pub pa10: Pin<PA10, Reset>, pub pa11: Pin<PA11, Reset>, pub pa12: Pin<PA12, Reset>, pub pa13: Pin<PA13, Reset>, pub pa14: Pin<PA14, Reset>, pub pa15: Pin<PA15, Reset>, pub pa16: Pin<PA16, Reset>, pub pa17: Pin<PA17, Reset>, pub pa18: Pin<PA18, Reset>, pub pa19: Pin<PA19, Reset>, pub pa20: Pin<PA20, Reset>, pub pa21: Pin<PA21, Reset>, pub pa22: Pin<PA22, Reset>, pub pa23: Pin<PA23, Reset>, pub pa24: Pin<PA24, Reset>, pub pa25: Pin<PA25, Reset>, pub pa27: Pin<PA27, Reset>, pub pa30: Pin<PA30, Reset>, pub pa31: Pin<PA31, Reset>, pub pb00: Pin<PB00, Reset>, pub pb01: Pin<PB01, Reset>, pub pb02: Pin<PB02, Reset>, pub pb03: Pin<PB03, Reset>, pub pb04: Pin<PB04, Reset>, pub pb05: Pin<PB05, Reset>, pub pb06: Pin<PB06, Reset>, pub pb07: Pin<PB07, Reset>, pub pb08: Pin<PB08, Reset>, pub pb09: Pin<PB09, Reset>, pub pb10: Pin<PB10, Reset>, pub pb11: Pin<PB11, Reset>, pub pb12: Pin<PB12, Reset>, pub pb13: Pin<PB13, Reset>, pub pb14: Pin<PB14, Reset>, pub pb15: Pin<PB15, Reset>, pub pb16: Pin<PB16, Reset>, pub pb17: Pin<PB17, Reset>, pub pb18: Pin<PB18, Reset>, pub pb19: Pin<PB19, Reset>, pub pb20: Pin<PB20, Reset>, pub pb21: Pin<PB21, Reset>, pub pb22: Pin<PB22, Reset>, pub pb23: Pin<PB23, Reset>, pub pb24: Pin<PB24, Reset>, pub pb25: Pin<PB25, Reset>, pub pb30: Pin<PB30, Reset>, pub pb31: Pin<PB31, Reset>, pub pc00: Pin<PC00, Reset>, pub pc01: Pin<PC01, Reset>, pub pc02: Pin<PC02, Reset>, pub pc03: Pin<PC03, Reset>, pub pc05: Pin<PC05, Reset>, pub pc06: Pin<PC06, Reset>, pub pc07: Pin<PC07, Reset>, pub pc10: Pin<PC10, Reset>, pub pc11: Pin<PC11, Reset>, pub pc12: Pin<PC12, Reset>, pub pc13: Pin<PC13, Reset>, pub pc14: Pin<PC14, Reset>, pub pc15: Pin<PC15, Reset>, pub pc16: Pin<PC16, Reset>, pub pc17: Pin<PC17, Reset>, pub pc18: Pin<PC18, Reset>, pub pc19: Pin<PC19, Reset>, pub pc20: Pin<PC20, Reset>, pub pc21: Pin<PC21, Reset>, pub pc24: Pin<PC24, Reset>, pub pc25: Pin<PC25, Reset>, pub pc26: Pin<PC26, Reset>, pub pc27: Pin<PC27, Reset>, pub pc28: Pin<PC28, Reset>, /* private fields */
}
Expand description

Collection of all the individual Pins

Fields§

§pa00: Pin<PA00, Reset>

Pin PA00

§pa01: Pin<PA01, Reset>

Pin PA01

§pa02: Pin<PA02, Reset>

Pin PA02

§pa03: Pin<PA03, Reset>

Pin PA03

§pa04: Pin<PA04, Reset>

Pin PA04

§pa05: Pin<PA05, Reset>

Pin PA05

§pa06: Pin<PA06, Reset>

Pin PA06

§pa07: Pin<PA07, Reset>

Pin PA07

§pa08: Pin<PA08, Reset>

Pin PA08

§pa09: Pin<PA09, Reset>

Pin PA09

§pa10: Pin<PA10, Reset>

Pin PA10

§pa11: Pin<PA11, Reset>

Pin PA11

§pa12: Pin<PA12, Reset>

Pin PA12

§pa13: Pin<PA13, Reset>

Pin PA13

§pa14: Pin<PA14, Reset>

Pin PA14

§pa15: Pin<PA15, Reset>

Pin PA15

§pa16: Pin<PA16, Reset>

Pin PA16

§pa17: Pin<PA17, Reset>

Pin PA17

§pa18: Pin<PA18, Reset>

Pin PA18

§pa19: Pin<PA19, Reset>

Pin PA19

§pa20: Pin<PA20, Reset>

Pin PA20

§pa21: Pin<PA21, Reset>

Pin PA21

§pa22: Pin<PA22, Reset>

Pin PA22

§pa23: Pin<PA23, Reset>

Pin PA23

§pa24: Pin<PA24, Reset>

Pin PA24

§pa25: Pin<PA25, Reset>

Pin PA25

§pa27: Pin<PA27, Reset>

Pin PA27

§pa30: Pin<PA30, Reset>

Pin PA30

§pa31: Pin<PA31, Reset>

Pin PA31

§pb00: Pin<PB00, Reset>

Pin PB00

§pb01: Pin<PB01, Reset>

Pin PB01

§pb02: Pin<PB02, Reset>

Pin PB02

§pb03: Pin<PB03, Reset>

Pin PB03

§pb04: Pin<PB04, Reset>

Pin PB04

§pb05: Pin<PB05, Reset>

Pin PB05

§pb06: Pin<PB06, Reset>

Pin PB06

§pb07: Pin<PB07, Reset>

Pin PB07

§pb08: Pin<PB08, Reset>

Pin PB08

§pb09: Pin<PB09, Reset>

Pin PB09

§pb10: Pin<PB10, Reset>

Pin PB10

§pb11: Pin<PB11, Reset>

Pin PB11

§pb12: Pin<PB12, Reset>

Pin PB12

§pb13: Pin<PB13, Reset>

Pin PB13

§pb14: Pin<PB14, Reset>

Pin PB14

§pb15: Pin<PB15, Reset>

Pin PB15

§pb16: Pin<PB16, Reset>

Pin PB16

§pb17: Pin<PB17, Reset>

Pin PB17

§pb18: Pin<PB18, Reset>

Pin PB18

§pb19: Pin<PB19, Reset>

Pin PB19

§pb20: Pin<PB20, Reset>

Pin PB20

§pb21: Pin<PB21, Reset>

Pin PB21

§pb22: Pin<PB22, Reset>

Pin PB22

§pb23: Pin<PB23, Reset>

Pin PB23

§pb24: Pin<PB24, Reset>

Pin PB24

§pb25: Pin<PB25, Reset>

Pin PB25

§pb30: Pin<PB30, Reset>

Pin PB30

§pb31: Pin<PB31, Reset>

Pin PB31

§pc00: Pin<PC00, Reset>

Pin PC00

§pc01: Pin<PC01, Reset>

Pin PC01

§pc02: Pin<PC02, Reset>

Pin PC02

§pc03: Pin<PC03, Reset>

Pin PC03

§pc05: Pin<PC05, Reset>

Pin PC05

§pc06: Pin<PC06, Reset>

Pin PC06

§pc07: Pin<PC07, Reset>

Pin PC07

§pc10: Pin<PC10, Reset>

Pin PC10

§pc11: Pin<PC11, Reset>

Pin PC11

§pc12: Pin<PC12, Reset>

Pin PC12

§pc13: Pin<PC13, Reset>

Pin PC13

§pc14: Pin<PC14, Reset>

Pin PC14

§pc15: Pin<PC15, Reset>

Pin PC15

§pc16: Pin<PC16, Reset>

Pin PC16

§pc17: Pin<PC17, Reset>

Pin PC17

§pc18: Pin<PC18, Reset>

Pin PC18

§pc19: Pin<PC19, Reset>

Pin PC19

§pc20: Pin<PC20, Reset>

Pin PC20

§pc21: Pin<PC21, Reset>

Pin PC21

§pc24: Pin<PC24, Reset>

Pin PC24

§pc25: Pin<PC25, Reset>

Pin PC25

§pc26: Pin<PC26, Reset>

Pin PC26

§pc27: Pin<PC27, Reset>

Pin PC27

§pc28: Pin<PC28, Reset>

Pin PC28

Implementations§

Source§

impl Pins

Source

pub fn new(port: Port) -> Pins

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

Source

pub unsafe fn port(&mut self) -> Port

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§

§

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> Same for T

Source§

type Output = T

Should always be Self
Source§

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

Source§

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

Source§

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.