Struct imxrt_hal::iomuxc::imxrt106x::Pads [−][src]
pub struct Pads { pub emc: Pads, pub ad_b0: Pads, pub ad_b1: Pads, pub b0: Pads, pub b1: Pads, pub sd_b0: Pads, pub sd_b1: Pads, }
All of the pads
Convention
The members of Pads
are additional structs that provide pads as
objects. The p
prefix of each pad denotes “pad.”
Fields
emc: Pads
ad_b0: Pads
ad_b1: Pads
b0: Pads
b1: Pads
sd_b0: Pads
sd_b1: Pads
Implementations
impl Pads
[src]
pub const unsafe fn new() -> Pads
[src]
Take all of the pads
Safety
You may safely call this once to acquire all of the pads. Subsequent calls
may return pads that are mutably aliased elsewhere. Consider calling new()
at the start of your program.
pub fn erase(self) -> ErasedPads
[src]
Erase the types of all pads
See ErasedPad
for more information.
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,