ExtendedPinFunction

Enum ExtendedPinFunction 

Source
#[repr(u32)]
pub enum ExtendedPinFunction {
Show 33 variants AlternateFunction = 0, ButtonDetectInputOrLogicLevelOutput = 1, DspGpio = 2, Irq1Output = 3, Fll1Clock = 16, Fll2Clock = 17, OscillatorClock = 19, Fll1Lock = 24, Fll2Lock = 26, OpClkClock = 72, OpClkAsyncClock = 73, OpClkDspClock = 74, Pwm1Output = 128, Pwm2Output = 129, InputSignalPathDetect = 140, Asrc1In1Lock = 152, Asrc1In2Lock = 154, Lsrc2Lock = 156, Lsrc3Lock = 160, OutputSignalPathStatuc = 506, Alarm1Channel1Status = 560, Alarm1Channel2Status = 561, Alarm1Channel3Status = 562, Alarm1Channel4Status = 563, Timer1Status = 592, Timer2Status = 593, Timer3Status = 594, Timer4Status = 595, Dsp1PowerStatus = 883, Spi2SlaveSelect1 = 1_544, Spi2SlaveSelect2 = 1_545, Spi2SlaveSelect3 = 1_546, Spi2SlaveSelect4 = 1_547,
}
Expand description

applicable to pins 5-12 only

Variants§

§

AlternateFunction = 0

§

ButtonDetectInputOrLogicLevelOutput = 1

§

DspGpio = 2

§

Irq1Output = 3

§

Fll1Clock = 16

§

Fll2Clock = 17

§

OscillatorClock = 19

§

Fll1Lock = 24

§

Fll2Lock = 26

§

OpClkClock = 72

§

OpClkAsyncClock = 73

§

OpClkDspClock = 74

§

Pwm1Output = 128

§

Pwm2Output = 129

§

InputSignalPathDetect = 140

§

Asrc1In1Lock = 152

§

Asrc1In2Lock = 154

§

Lsrc2Lock = 156

§

Lsrc3Lock = 160

§

OutputSignalPathStatuc = 506

§

Alarm1Channel1Status = 560

§

Alarm1Channel2Status = 561

§

Alarm1Channel3Status = 562

§

Alarm1Channel4Status = 563

§

Timer1Status = 592

§

Timer2Status = 593

§

Timer3Status = 594

§

Timer4Status = 595

§

Dsp1PowerStatus = 883

§

Spi2SlaveSelect1 = 1_544

§

Spi2SlaveSelect2 = 1_545

§

Spi2SlaveSelect3 = 1_546

§

Spi2SlaveSelect4 = 1_547

Trait Implementations§

Source§

impl Clone for ExtendedPinFunction

Source§

fn clone(&self) -> ExtendedPinFunction

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ExtendedPinFunction

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Copy for ExtendedPinFunction

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

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

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 T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.
Source§

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

Source§

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

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.