#[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
impl Clone for ExtendedPinFunction
Source§fn clone(&self) -> ExtendedPinFunction
fn clone(&self) -> ExtendedPinFunction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExtendedPinFunction
impl Debug for ExtendedPinFunction
impl Copy for ExtendedPinFunction
Auto Trait Implementations§
impl Freeze for ExtendedPinFunction
impl RefUnwindSafe for ExtendedPinFunction
impl Send for ExtendedPinFunction
impl Sync for ExtendedPinFunction
impl Unpin for ExtendedPinFunction
impl UnwindSafe for ExtendedPinFunction
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more