Enum Pin

Source
pub enum Pin {
Show 96 variants PA00, PA01, PA02, PA03, PA04, PA05, PA06, PA07, PA08, PA09, PA10, PA11, PA12, PA13, PA14, PA15, PA16, PA17, PA18, PA19, PA20, PA21, PA22, PA23, PA24, PA25, PA26, PA27, PA28, PA29, PA30, PA31, PB00, PB01, PB02, PB03, PB04, PB05, PB06, PB07, PB08, PB09, PB10, PB11, PB12, PB13, PB14, PB15, PB16, PB17, PB18, PB19, PB20, PB21, PB22, PB23, PB24, PB25, PB26, PB27, PB28, PB29, PB30, PB31, PC00, PC01, PC02, PC03, PC04, PC05, PC06, PC07, PC08, PC09, PC10, PC11, PC12, PC13, PC14, PC15, PC16, PC17, PC18, PC19, PC20, PC21, PC22, PC23, PC24, PC25, PC26, PC27, PC28, PC29, PC30, PC31,
}
Expand description

Name of the GPIO pin on the SAM4L.

The “Package and Pinout” section1 of the SAM4L datasheet shows the mapping between these names and hardware pins on different chip packages.


  1. Section 3.1, pages 10-18 

Variants§

§

PA00

§

PA01

§

PA02

§

PA03

§

PA04

§

PA05

§

PA06

§

PA07

§

PA08

§

PA09

§

PA10

§

PA11

§

PA12

§

PA13

§

PA14

§

PA15

§

PA16

§

PA17

§

PA18

§

PA19

§

PA20

§

PA21

§

PA22

§

PA23

§

PA24

§

PA25

§

PA26

§

PA27

§

PA28

§

PA29

§

PA30

§

PA31

§

PB00

§

PB01

§

PB02

§

PB03

§

PB04

§

PB05

§

PB06

§

PB07

§

PB08

§

PB09

§

PB10

§

PB11

§

PB12

§

PB13

§

PB14

§

PB15

§

PB16

§

PB17

§

PB18

§

PB19

§

PB20

§

PB21

§

PB22

§

PB23

§

PB24

§

PB25

§

PB26

§

PB27

§

PB28

§

PB29

§

PB30

§

PB31

§

PC00

§

PC01

§

PC02

§

PC03

§

PC04

§

PC05

§

PC06

§

PC07

§

PC08

§

PC09

§

PC10

§

PC11

§

PC12

§

PC13

§

PC14

§

PC15

§

PC16

§

PC17

§

PC18

§

PC19

§

PC20

§

PC21

§

PC22

§

PC23

§

PC24

§

PC25

§

PC26

§

PC27

§

PC28

§

PC29

§

PC30

§

PC31

Trait Implementations§

Source§

impl Clone for Pin

Source§

fn clone(&self) -> Pin

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for Pin

Auto Trait Implementations§

§

impl Freeze for Pin

§

impl RefUnwindSafe for Pin

§

impl Send for Pin

§

impl Sync for Pin

§

impl Unpin for Pin

§

impl UnwindSafe for Pin

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. 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>,

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.