embassy-mcxa

Crates

git

Versions

mcx-a256

Flavors

AdcPin

Trait AdcPin 

Source
pub trait AdcPin<Instance>:
    GpioPin
    + Sealed
    + PeripheralType {
    const CHANNEL: u8;

    // Required method
    fn mux(&self);
}

Required Associated Constants§

Required Methods§

Source

fn mux(&self)

Set the given pin to the correct muxing state

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl AdcPin<ADC0> for P0_3

Source§

const CHANNEL: u8 = 14u8

Source§

impl AdcPin<ADC0> for P0_6

Source§

const CHANNEL: u8 = 15u8

Source§

impl AdcPin<ADC0> for P0_18

Source§

const CHANNEL: u8 = 8u8

Source§

impl AdcPin<ADC0> for P0_19

Source§

const CHANNEL: u8 = 9u8

Source§

impl AdcPin<ADC0> for P0_20

Source§

const CHANNEL: u8 = 10u8

Source§

impl AdcPin<ADC0> for P0_21

Source§

const CHANNEL: u8 = 11u8

Source§

impl AdcPin<ADC0> for P0_22

Source§

const CHANNEL: u8 = 12u8

Source§

impl AdcPin<ADC0> for P0_23

Source§

const CHANNEL: u8 = 13u8

Source§

impl AdcPin<ADC0> for P1_0

Source§

const CHANNEL: u8 = 16u8

Source§

impl AdcPin<ADC0> for P1_1

Source§

const CHANNEL: u8 = 17u8

Source§

impl AdcPin<ADC0> for P1_2

Source§

const CHANNEL: u8 = 18u8

Source§

impl AdcPin<ADC0> for P1_3

Source§

const CHANNEL: u8 = 19u8

Source§

impl AdcPin<ADC0> for P1_4

Source§

const CHANNEL: u8 = 20u8

Source§

impl AdcPin<ADC0> for P1_5

Source§

const CHANNEL: u8 = 21u8

Source§

impl AdcPin<ADC0> for P1_6

Source§

const CHANNEL: u8 = 22u8

Source§

impl AdcPin<ADC0> for P1_7

Source§

const CHANNEL: u8 = 23u8

Source§

impl AdcPin<ADC0> for P2_0

Source§

const CHANNEL: u8 = 0u8

Source§

impl AdcPin<ADC0> for P2_2

Source§

const CHANNEL: u8 = 4u8

Source§

impl AdcPin<ADC0> for P2_3

Source§

const CHANNEL: u8 = 3u8

Source§

impl AdcPin<ADC0> for P2_4

Source§

const CHANNEL: u8 = 1u8

Source§

impl AdcPin<ADC0> for P2_7

Source§

const CHANNEL: u8 = 7u8

Source§

impl AdcPin<ADC0> for P2_12

Source§

const CHANNEL: u8 = 5u8

Source§

impl AdcPin<ADC0> for P2_15

Source§

const CHANNEL: u8 = 2u8

Source§

impl AdcPin<ADC0> for P2_16

Source§

const CHANNEL: u8 = 6u8

Source§

impl AdcPin<ADC1> for P1_10

Source§

const CHANNEL: u8 = 8u8

Source§

impl AdcPin<ADC1> for P1_11

Source§

const CHANNEL: u8 = 9u8

Source§

impl AdcPin<ADC1> for P1_12

Source§

const CHANNEL: u8 = 10u8

Source§

impl AdcPin<ADC1> for P1_13

Source§

const CHANNEL: u8 = 11u8

Source§

impl AdcPin<ADC1> for P1_14

Source§

const CHANNEL: u8 = 12u8

Source§

impl AdcPin<ADC1> for P1_15

Source§

const CHANNEL: u8 = 13u8

Source§

impl AdcPin<ADC1> for P2_1

Source§

const CHANNEL: u8 = 0u8

Source§

impl AdcPin<ADC1> for P2_3

Source§

const CHANNEL: u8 = 4u8

Source§

impl AdcPin<ADC1> for P2_5

Source§

const CHANNEL: u8 = 1u8

Source§

impl AdcPin<ADC1> for P2_6

Source§

const CHANNEL: u8 = 3u8

Source§

impl AdcPin<ADC1> for P2_7

Source§

const CHANNEL: u8 = 7u8

Source§

impl AdcPin<ADC1> for P2_13

Source§

const CHANNEL: u8 = 5u8

Source§

impl AdcPin<ADC1> for P2_17

Source§

const CHANNEL: u8 = 6u8

Source§

impl AdcPin<ADC1> for P2_19

Source§

const CHANNEL: u8 = 2u8

Source§

impl AdcPin<ADC1> for P3_29

Source§

const CHANNEL: u8 = 22u8

Source§

impl AdcPin<ADC1> for P3_30

Source§

const CHANNEL: u8 = 21u8

Source§

impl AdcPin<ADC1> for P3_31

Source§

const CHANNEL: u8 = 20u8

Source§

impl AdcPin<ADC2> for P0_2

Source§

const CHANNEL: u8 = 8u8

Source§

impl AdcPin<ADC2> for P0_14

Source§

const CHANNEL: u8 = 14u8

Source§

impl AdcPin<ADC2> for P0_15

Source§

const CHANNEL: u8 = 15u8

Source§

impl AdcPin<ADC2> for P2_4

Source§

const CHANNEL: u8 = 0u8

Source§

impl AdcPin<ADC2> for P2_7

Source§

const CHANNEL: u8 = 7u8

Source§

impl AdcPin<ADC2> for P2_10

Source§

const CHANNEL: u8 = 1u8

Source§

impl AdcPin<ADC2> for P2_12

Source§

const CHANNEL: u8 = 5u8

Source§

impl AdcPin<ADC2> for P2_16

Source§

const CHANNEL: u8 = 4u8

Source§

impl AdcPin<ADC2> for P2_20

Source§

const CHANNEL: u8 = 6u8

Source§

impl AdcPin<ADC2> for P4_2

Source§

const CHANNEL: u8 = 18u8

Source§

impl AdcPin<ADC2> for P4_3

Source§

const CHANNEL: u8 = 19u8

Source§

impl AdcPin<ADC2> for P4_4

Source§

const CHANNEL: u8 = 2u8

Source§

impl AdcPin<ADC2> for P4_5

Source§

const CHANNEL: u8 = 21u8

Source§

impl AdcPin<ADC2> for P4_6

Source§

const CHANNEL: u8 = 22u8

Source§

impl AdcPin<ADC2> for P4_7

Source§

const CHANNEL: u8 = 23u8

Source§

impl AdcPin<ADC3> for P2_5

Source§

const CHANNEL: u8 = 0u8

Source§

impl AdcPin<ADC3> for P2_7

Source§

const CHANNEL: u8 = 7u8

Source§

impl AdcPin<ADC3> for P2_11

Source§

const CHANNEL: u8 = 1u8

Source§

impl AdcPin<ADC3> for P2_13

Source§

const CHANNEL: u8 = 5u8

Source§

impl AdcPin<ADC3> for P2_17

Source§

const CHANNEL: u8 = 4u8

Source§

impl AdcPin<ADC3> for P2_21

Source§

const CHANNEL: u8 = 6u8

Source§

impl AdcPin<ADC3> for P2_23

Source§

const CHANNEL: u8 = 2u8

Source§

impl AdcPin<ADC3> for P3_6

Source§

const CHANNEL: u8 = 12u8

Source§

impl AdcPin<ADC3> for P3_7

Source§

const CHANNEL: u8 = 13u8

Source§

impl AdcPin<ADC3> for P3_12

Source§

const CHANNEL: u8 = 14u8

Source§

impl AdcPin<ADC3> for P3_13

Source§

const CHANNEL: u8 = 15u8

Source§

impl AdcPin<ADC3> for P3_14

Source§

const CHANNEL: u8 = 16u8

Source§

impl AdcPin<ADC3> for P3_15

Source§

const CHANNEL: u8 = 17u8

Source§

impl AdcPin<ADC3> for P3_20

Source§

const CHANNEL: u8 = 18u8

Source§

impl AdcPin<ADC3> for P3_21

Source§

const CHANNEL: u8 = 19u8

Source§

impl AdcPin<ADC3> for P3_22

Source§

const CHANNEL: u8 = 20u8