[−][src]Struct teensy4_pins::t40::Pins
Teensy 4.0 pins
See into_pins
to safely constrain the processor's pads, and acquire
Teensy 4.0 pins. Or, use new
to unsafely create pins.
Fields
p0: P0
Pin 0
p1: P1
Pin 1
p2: P2
Pin 2
p3: P3
Pin 3
p4: P4
Pin 4
p5: P5
Pin 5
p6: P6
Pin 6
p7: P7
Pin 7
p8: P8
Pin 8
p9: P9
Pin 9
p10: P10
Pin 10
p11: P11
Pin 11
p12: P12
Pin 12
p13: P13
Pin 13
p14: P14
Pin 14
p15: P15
Pin 15
p16: P16
Pin 16
p17: P17
Pin 17
p18: P18
Pin 18
p19: P19
Pin 19
p20: P20
Pin 20
p21: P21
Pin 21
p22: P22
Pin 22
p23: P23
Pin 23
p24: P24
Pin 24
p25: P25
Pin 25
p26: P26
Pin 26
p27: P27
Pin 27
p28: P28
Pin 28
p29: P29
Pin 29
p30: P30
Pin 30
p31: P31
Pin 31
p32: P32
Pin 32
p33: P33
Pin 33
p34: P34
Pin 34
p35: P35
Pin 35
p36: P36
Pin 36
p37: P37
Pin 37
p38: P38
Pin 38
p39: P39
Pin 39
Implementations
impl Pins
[src]
pub const unsafe fn new() -> Self
[src]
Create an instance of Pins
when you do not have a handle
to the processor pads
Safety
Caller must ensure that the pins are not aliased elsewhere in the program. This could include
- an existing handle to the
imxrt-iomuxc
pads, - another instance of
Pins
that was safely acquired usinginto_pins
.
pub fn erase(self) -> ErasedPins
[src]
Erase the types of all pins
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,
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.
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>,