Enum PinmuxInsel

Source
#[repr(u32)]
pub enum PinmuxInsel {
Show 49 variants ConstantZero = 0, ConstantOne = 1, Ioa0 = 2, Ioa1 = 3, Ioa2 = 4, Ioa3 = 5, Ioa4 = 6, Ioa5 = 7, Ioa6 = 8, Ioa7 = 9, Ioa8 = 10, Iob0 = 11, Iob1 = 12, Iob2 = 13, Iob3 = 14, Iob4 = 15, Iob5 = 16, Iob6 = 17, Iob7 = 18, Iob8 = 19, Iob9 = 20, Iob10 = 21, Iob11 = 22, Iob12 = 23, Ioc0 = 24, Ioc1 = 25, Ioc2 = 26, Ioc3 = 27, Ioc4 = 28, Ioc5 = 29, Ioc6 = 30, Ioc7 = 31, Ioc8 = 32, Ioc9 = 33, Ioc10 = 34, Ioc11 = 35, Ioc12 = 36, Ior0 = 37, Ior1 = 38, Ior2 = 39, Ior3 = 40, Ior4 = 41, Ior5 = 42, Ior6 = 43, Ior7 = 44, Ior10 = 45, Ior11 = 46, Ior12 = 47, Ior13 = 48,
}
Expand description

Pinmux MIO Input Selector.

Variants§

§

ConstantZero = 0

Tie constantly to zero

§

ConstantOne = 1

Tie constantly to one

§

Ioa0 = 2

MIO Pad 0

§

Ioa1 = 3

MIO Pad 1

§

Ioa2 = 4

MIO Pad 2

§

Ioa3 = 5

MIO Pad 3

§

Ioa4 = 6

MIO Pad 4

§

Ioa5 = 7

MIO Pad 5

§

Ioa6 = 8

MIO Pad 6

§

Ioa7 = 9

MIO Pad 7

§

Ioa8 = 10

MIO Pad 8

§

Iob0 = 11

MIO Pad 9

§

Iob1 = 12

MIO Pad 10

§

Iob2 = 13

MIO Pad 11

§

Iob3 = 14

MIO Pad 12

§

Iob4 = 15

MIO Pad 13

§

Iob5 = 16

MIO Pad 14

§

Iob6 = 17

MIO Pad 15

§

Iob7 = 18

MIO Pad 16

§

Iob8 = 19

MIO Pad 17

§

Iob9 = 20

MIO Pad 18

§

Iob10 = 21

MIO Pad 19

§

Iob11 = 22

MIO Pad 20

§

Iob12 = 23

MIO Pad 21

§

Ioc0 = 24

MIO Pad 22

§

Ioc1 = 25

MIO Pad 23

§

Ioc2 = 26

MIO Pad 24

§

Ioc3 = 27

MIO Pad 25

§

Ioc4 = 28

MIO Pad 26

§

Ioc5 = 29

MIO Pad 27

§

Ioc6 = 30

MIO Pad 28

§

Ioc7 = 31

MIO Pad 29

§

Ioc8 = 32

MIO Pad 30

§

Ioc9 = 33

MIO Pad 31

§

Ioc10 = 34

MIO Pad 32

§

Ioc11 = 35

MIO Pad 33

§

Ioc12 = 36

MIO Pad 34

§

Ior0 = 37

MIO Pad 35

§

Ior1 = 38

MIO Pad 36

§

Ior2 = 39

MIO Pad 37

§

Ior3 = 40

MIO Pad 38

§

Ior4 = 41

MIO Pad 39

§

Ior5 = 42

MIO Pad 40

§

Ior6 = 43

MIO Pad 41

§

Ior7 = 44

MIO Pad 42

§

Ior10 = 45

MIO Pad 43

§

Ior11 = 46

MIO Pad 44

§

Ior12 = 47

MIO Pad 45

§

Ior13 = 48

MIO Pad 46

Trait Implementations§

Source§

impl Clone for PinmuxInsel

Source§

fn clone(&self) -> PinmuxInsel

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 From<MuxedPads> for PinmuxInsel

MuxedPads names and values overlap with PinmuxInsel, function below is used to convert it to valid PinmuxInsel. OpenTitan documentation reference: https://opentitan.org/book/hw/ip/pinmux/doc/programmers_guide.html#pinmux-configuration

Source§

fn from(pad: MuxedPads) -> Self

Converts to this type from the input type.
Source§

impl PartialEq for PinmuxInsel

Source§

fn eq(&self, other: &PinmuxInsel) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl TryFrom<u32> for PinmuxInsel

Source§

type Error = u32

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

fn try_from(val: u32) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl Copy for PinmuxInsel

Source§

impl Eq for PinmuxInsel

Source§

impl StructuralPartialEq for PinmuxInsel

Auto Trait Implementations§

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.