#[repr(u32)]pub enum MuxedPads {
Show 47 variants
Ioa0 = 0,
Ioa1 = 1,
Ioa2 = 2,
Ioa3 = 3,
Ioa4 = 4,
Ioa5 = 5,
Ioa6 = 6,
Ioa7 = 7,
Ioa8 = 8,
Iob0 = 9,
Iob1 = 10,
Iob2 = 11,
Iob3 = 12,
Iob4 = 13,
Iob5 = 14,
Iob6 = 15,
Iob7 = 16,
Iob8 = 17,
Iob9 = 18,
Iob10 = 19,
Iob11 = 20,
Iob12 = 21,
Ioc0 = 22,
Ioc1 = 23,
Ioc2 = 24,
Ioc3 = 25,
Ioc4 = 26,
Ioc5 = 27,
Ioc6 = 28,
Ioc7 = 29,
Ioc8 = 30,
Ioc9 = 31,
Ioc10 = 32,
Ioc11 = 33,
Ioc12 = 34,
Ior0 = 35,
Ior1 = 36,
Ior2 = 37,
Ior3 = 38,
Ior4 = 39,
Ior5 = 40,
Ior6 = 41,
Ior7 = 42,
Ior10 = 43,
Ior11 = 44,
Ior12 = 45,
Ior13 = 46,
}
Expand description
Muxed Pad Selects
Variants§
Ioa0 = 0
Ioa1 = 1
Ioa2 = 2
Ioa3 = 3
Ioa4 = 4
Ioa5 = 5
Ioa6 = 6
Ioa7 = 7
Ioa8 = 8
Iob0 = 9
Iob1 = 10
Iob2 = 11
Iob3 = 12
Iob4 = 13
Iob5 = 14
Iob6 = 15
Iob7 = 16
Iob8 = 17
Iob9 = 18
Iob10 = 19
Iob11 = 20
Iob12 = 21
Ioc0 = 22
Ioc1 = 23
Ioc2 = 24
Ioc3 = 25
Ioc4 = 26
Ioc5 = 27
Ioc6 = 28
Ioc7 = 29
Ioc8 = 30
Ioc9 = 31
Ioc10 = 32
Ioc11 = 33
Ioc12 = 34
Ior0 = 35
Ior1 = 36
Ior2 = 37
Ior3 = 38
Ior4 = 39
Ior5 = 40
Ior6 = 41
Ior7 = 42
Ior10 = 43
Ior11 = 44
Ior12 = 45
Ior13 = 46
Trait Implementations§
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
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§impl SelectOutput for MuxedPads
impl SelectOutput for MuxedPads
Source§fn connect_output(self, output: PinmuxOutsel)
fn connect_output(self, output: PinmuxOutsel)
Connect particular pad to internal peripheral
Source§fn connect_low(self)
fn connect_low(self)
Connect particular pad output to always low
Source§fn connect_high(self)
fn connect_high(self)
Connect particular pad output to always high
Source§fn connect_high_z(self)
fn connect_high_z(self)
This function disconnect pad from peripheral
and set it to High-Impedance state
Source§fn get_selector(self) -> PinmuxOutsel
fn get_selector(self) -> PinmuxOutsel
Get value of current output selection
impl Copy for MuxedPads
impl Eq for MuxedPads
impl StructuralPartialEq for MuxedPads
Auto Trait Implementations§
impl Freeze for MuxedPads
impl RefUnwindSafe for MuxedPads
impl Send for MuxedPads
impl Sync for MuxedPads
impl Unpin for MuxedPads
impl UnwindSafe for MuxedPads
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more