Struct teensy4_pins::tmm::Pins

source ·
pub struct Pins {
Show 46 fields pub p0: P0, pub p1: P1, pub p2: P2, pub p3: P3, pub p4: P4, pub p5: P5, pub p6: P6, pub p7: P7, pub p8: P8, pub p9: P9, pub p10: P10, pub p11: P11, pub p12: P12, pub p13: P13, pub p14: P14, pub p15: P15, pub p16: P16, pub p17: P17, pub p18: P18, pub p19: P19, pub p20: P20, pub p21: P21, pub p22: P22, pub p23: P23, pub p24: P24, pub p25: P25, pub p26: P26, pub p27: P27, pub p28: P28, pub p29: P29, pub p30: P30, pub p31: P31, pub p32: P32, pub p33: P33, pub p34: P34, pub p35: P35, pub p36: P36, pub p37: P37, pub p38: P38, pub p39: P39, pub p40: P40, pub p41: P41, pub p42: P42, pub p43: P43, pub p44: P44, pub p45: P45,
}
Expand description

Teensy MicroMod pins

See from_pads to safely constrain the processor’s pads, and acquire Teensy MicroMod 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

§p40: P40

Pin 40

§p41: P41

Pin 41

§p42: P42

Pin 42

§p43: P43

Pin 43

§p44: P44

Pin 44

§p45: P45

Pin 45

Implementations§

source§

impl Pins

source

pub const unsafe fn new() -> Self

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 using from_pads.
source

pub fn erase(self) -> ErasedPins

Erase the types of all pins

Auto Trait Implementations§

§

impl RefUnwindSafe for Pins

§

impl Send for Pins

§

impl !Sync for Pins

§

impl Unpin for Pins

§

impl UnwindSafe for Pins

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · 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 Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.