Enum Reg

Source
pub enum Reg {
Show 29 variants GPFSEL0 = 0, GPFSEL1 = 4, GPFSEL2 = 8, GPFSEL3 = 12, GPFSEL4 = 16, GPFSEL5 = 20, GPSET0 = 28, GPSET1 = 32, GPCLR0 = 40, GPCLR1 = 44, GPLEV0 = 52, GPLEV1 = 56, GPPEDS0 = 64, GPPEDS1 = 68, GPREN0 = 76, GPREN1 = 80, GPFEN0 = 88, GPFEN1 = 92, GPHEN0 = 100, GPHEN1 = 104, GPLEN0 = 112, GPLEN1 = 116, GPAREN0 = 124, GPAREN1 = 128, GPAFEN0 = 136, GPAFEN1 = 140, GPPUD = 148, GPPUDCLK0 = 152, GPPUDCLK1 = 156,
}

Variants§

§

GPFSEL0 = 0

§

GPFSEL1 = 4

§

GPFSEL2 = 8

§

GPFSEL3 = 12

§

GPFSEL4 = 16

§

GPFSEL5 = 20

§

GPSET0 = 28

§

GPSET1 = 32

§

GPCLR0 = 40

§

GPCLR1 = 44

§

GPLEV0 = 52

§

GPLEV1 = 56

§

GPPEDS0 = 64

§

GPPEDS1 = 68

§

GPREN0 = 76

§

GPREN1 = 80

§

GPFEN0 = 88

§

GPFEN1 = 92

§

GPHEN0 = 100

§

GPHEN1 = 104

§

GPLEN0 = 112

§

GPLEN1 = 116

§

GPAREN0 = 124

§

GPAREN1 = 128

§

GPAFEN0 = 136

§

GPAFEN1 = 140

§

GPPUD = 148

§

GPPUDCLK0 = 152

§

GPPUDCLK1 = 156

Auto Trait Implementations§

§

impl Freeze for Reg

§

impl RefUnwindSafe for Reg

§

impl Send for Reg

§

impl Sync for Reg

§

impl Unpin for Reg

§

impl UnwindSafe for Reg

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

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.