Enum PinmuxPeripheralIn

Source
#[repr(u32)]
pub enum PinmuxPeripheralIn {
Show 57 variants GpioGpio0 = 0, GpioGpio1 = 1, GpioGpio2 = 2, GpioGpio3 = 3, GpioGpio4 = 4, GpioGpio5 = 5, GpioGpio6 = 6, GpioGpio7 = 7, GpioGpio8 = 8, GpioGpio9 = 9, GpioGpio10 = 10, GpioGpio11 = 11, GpioGpio12 = 12, GpioGpio13 = 13, GpioGpio14 = 14, GpioGpio15 = 15, GpioGpio16 = 16, GpioGpio17 = 17, GpioGpio18 = 18, GpioGpio19 = 19, GpioGpio20 = 20, GpioGpio21 = 21, GpioGpio22 = 22, GpioGpio23 = 23, GpioGpio24 = 24, GpioGpio25 = 25, GpioGpio26 = 26, GpioGpio27 = 27, GpioGpio28 = 28, GpioGpio29 = 29, GpioGpio30 = 30, GpioGpio31 = 31, I2c0Sda = 32, I2c0Scl = 33, I2c1Sda = 34, I2c1Scl = 35, I2c2Sda = 36, I2c2Scl = 37, SpiHost1Sd0 = 38, SpiHost1Sd1 = 39, SpiHost1Sd2 = 40, SpiHost1Sd3 = 41, Uart0Rx = 42, Uart1Rx = 43, Uart2Rx = 44, Uart3Rx = 45, SpiDeviceTpmCsb = 46, FlashCtrlTck = 47, FlashCtrlTms = 48, FlashCtrlTdi = 49, SysrstCtrlAonAcPresent = 50, SysrstCtrlAonKey0In = 51, SysrstCtrlAonKey1In = 52, SysrstCtrlAonKey2In = 53, SysrstCtrlAonPwrbIn = 54, SysrstCtrlAonLidOpen = 55, UsbdevSense = 56,
}
Expand description

Pinmux Peripheral Input.

Variants§

§

GpioGpio0 = 0

Peripheral Input 0

§

GpioGpio1 = 1

Peripheral Input 1

§

GpioGpio2 = 2

Peripheral Input 2

§

GpioGpio3 = 3

Peripheral Input 3

§

GpioGpio4 = 4

Peripheral Input 4

§

GpioGpio5 = 5

Peripheral Input 5

§

GpioGpio6 = 6

Peripheral Input 6

§

GpioGpio7 = 7

Peripheral Input 7

§

GpioGpio8 = 8

Peripheral Input 8

§

GpioGpio9 = 9

Peripheral Input 9

§

GpioGpio10 = 10

Peripheral Input 10

§

GpioGpio11 = 11

Peripheral Input 11

§

GpioGpio12 = 12

Peripheral Input 12

§

GpioGpio13 = 13

Peripheral Input 13

§

GpioGpio14 = 14

Peripheral Input 14

§

GpioGpio15 = 15

Peripheral Input 15

§

GpioGpio16 = 16

Peripheral Input 16

§

GpioGpio17 = 17

Peripheral Input 17

§

GpioGpio18 = 18

Peripheral Input 18

§

GpioGpio19 = 19

Peripheral Input 19

§

GpioGpio20 = 20

Peripheral Input 20

§

GpioGpio21 = 21

Peripheral Input 21

§

GpioGpio22 = 22

Peripheral Input 22

§

GpioGpio23 = 23

Peripheral Input 23

§

GpioGpio24 = 24

Peripheral Input 24

§

GpioGpio25 = 25

Peripheral Input 25

§

GpioGpio26 = 26

Peripheral Input 26

§

GpioGpio27 = 27

Peripheral Input 27

§

GpioGpio28 = 28

Peripheral Input 28

§

GpioGpio29 = 29

Peripheral Input 29

§

GpioGpio30 = 30

Peripheral Input 30

§

GpioGpio31 = 31

Peripheral Input 31

§

I2c0Sda = 32

Peripheral Input 32

§

I2c0Scl = 33

Peripheral Input 33

§

I2c1Sda = 34

Peripheral Input 34

§

I2c1Scl = 35

Peripheral Input 35

§

I2c2Sda = 36

Peripheral Input 36

§

I2c2Scl = 37

Peripheral Input 37

§

SpiHost1Sd0 = 38

Peripheral Input 38

§

SpiHost1Sd1 = 39

Peripheral Input 39

§

SpiHost1Sd2 = 40

Peripheral Input 40

§

SpiHost1Sd3 = 41

Peripheral Input 41

§

Uart0Rx = 42

Peripheral Input 42

§

Uart1Rx = 43

Peripheral Input 43

§

Uart2Rx = 44

Peripheral Input 44

§

Uart3Rx = 45

Peripheral Input 45

§

SpiDeviceTpmCsb = 46

Peripheral Input 46

§

FlashCtrlTck = 47

Peripheral Input 47

§

FlashCtrlTms = 48

Peripheral Input 48

§

FlashCtrlTdi = 49

Peripheral Input 49

§

SysrstCtrlAonAcPresent = 50

Peripheral Input 50

§

SysrstCtrlAonKey0In = 51

Peripheral Input 51

§

SysrstCtrlAonKey1In = 52

Peripheral Input 52

§

SysrstCtrlAonKey2In = 53

Peripheral Input 53

§

SysrstCtrlAonPwrbIn = 54

Peripheral Input 54

§

SysrstCtrlAonLidOpen = 55

Peripheral Input 55

§

UsbdevSense = 56

Peripheral Input 56

Trait Implementations§

Source§

impl Clone for PinmuxPeripheralIn

Source§

fn clone(&self) -> PinmuxPeripheralIn

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<PinmuxPeripheralIn> for PinmuxOutsel

Source§

fn from(pin: PinmuxPeripheralIn) -> Self

Converts to this type from the input type.
Source§

impl PartialEq for PinmuxPeripheralIn

Source§

fn eq(&self, other: &PinmuxPeripheralIn) -> 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 SelectInput for PinmuxPeripheralIn

Source§

fn connect_input(self, input: PinmuxInsel)

Connect internal peripheral input to particular pad
Source§

fn connect_low(self)

Connect internal peripherals input to always low
Source§

fn connect_high(self)

Connect internal peripherals input to always high
Source§

fn lock(self)

Lock input configurations
Source§

fn get_selector(self) -> PinmuxInsel

Get value of current input selection
Source§

impl TryFrom<u32> for PinmuxPeripheralIn

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 PinmuxPeripheralIn

Source§

impl Eq for PinmuxPeripheralIn

Source§

impl StructuralPartialEq for PinmuxPeripheralIn

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.