Enum Psel
#[repr(u8)]pub enum Psel {
Show 32 variants
NC = 0,
ANALOG_INPUT0 = 1,
ANALOG_INPUT1 = 2,
ANALOG_INPUT2 = 3,
ANALOG_INPUT3 = 4,
ANALOG_INPUT4 = 5,
ANALOG_INPUT5 = 6,
ANALOG_INPUT6 = 7,
ANALOG_INPUT7 = 8,
VDD = 9,
_RESERVED_a = 10,
_RESERVED_b = 11,
_RESERVED_c = 12,
VDDHDIV5 = 13,
_RESERVED_e = 14,
_RESERVED_f = 15,
_RESERVED_10 = 16,
_RESERVED_11 = 17,
_RESERVED_12 = 18,
_RESERVED_13 = 19,
_RESERVED_14 = 20,
_RESERVED_15 = 21,
_RESERVED_16 = 22,
_RESERVED_17 = 23,
_RESERVED_18 = 24,
_RESERVED_19 = 25,
_RESERVED_1a = 26,
_RESERVED_1b = 27,
_RESERVED_1c = 28,
_RESERVED_1d = 29,
_RESERVED_1e = 30,
_RESERVED_1f = 31,
}
Variants§
NC = 0
Not connected
ANALOG_INPUT0 = 1
AIN0
ANALOG_INPUT1 = 2
AIN1
ANALOG_INPUT2 = 3
AIN2
ANALOG_INPUT3 = 4
AIN3
ANALOG_INPUT4 = 5
AIN4
ANALOG_INPUT5 = 6
AIN5
ANALOG_INPUT6 = 7
AIN6
ANALOG_INPUT7 = 8
AIN7
VDD = 9
VDD
_RESERVED_a = 10
_RESERVED_b = 11
_RESERVED_c = 12
VDDHDIV5 = 13
VDDH/5
_RESERVED_e = 14
_RESERVED_f = 15
_RESERVED_10 = 16
_RESERVED_11 = 17
_RESERVED_12 = 18
_RESERVED_13 = 19
_RESERVED_14 = 20
_RESERVED_15 = 21
_RESERVED_16 = 22
_RESERVED_17 = 23
_RESERVED_18 = 24
_RESERVED_19 = 25
_RESERVED_1a = 26
_RESERVED_1b = 27
_RESERVED_1c = 28
_RESERVED_1d = 29
_RESERVED_1e = 30
_RESERVED_1f = 31
Implementations§
Trait Implementations§
§impl Ord for Psel
impl Ord for Psel
§impl PartialOrd for Psel
impl PartialOrd for Psel
impl Copy for Psel
impl Eq for Psel
impl StructuralPartialEq for Psel
Auto Trait Implementations§
impl Freeze for Psel
impl RefUnwindSafe for Psel
impl Send for Psel
impl Sync for Psel
impl Unpin for Psel
impl UnwindSafe for Psel
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
Source§impl<T> CheckedAs for T
impl<T> CheckedAs for T
Source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.
Source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
Source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Src, Dst> LosslessTryInto<Dst> for Srcwhere
Dst: LosslessTryFrom<Src>,
impl<Src, Dst> LosslessTryInto<Dst> for Srcwhere
Dst: LosslessTryFrom<Src>,
Source§fn lossless_try_into(self) -> Option<Dst>
fn lossless_try_into(self) -> Option<Dst>
Performs the conversion.
Source§impl<Src, Dst> LossyInto<Dst> for Srcwhere
Dst: LossyFrom<Src>,
impl<Src, Dst> LossyInto<Dst> for Srcwhere
Dst: LossyFrom<Src>,
Source§fn lossy_into(self) -> Dst
fn lossy_into(self) -> Dst
Performs the conversion.
Source§impl<T> OverflowingAs for T
impl<T> OverflowingAs for T
Source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
Casts the value.
Source§impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
Source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.
Source§impl<T> SaturatingAs for T
impl<T> SaturatingAs for T
Source§fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
Casts the value.
Source§impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
Source§fn saturating_cast_from(src: Src) -> Dst
fn saturating_cast_from(src: Src) -> Dst
Casts the value.
Source§impl<T> UnwrappedAs for T
impl<T> UnwrappedAs for T
Source§fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
Casts the value.
Source§impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
Source§fn unwrapped_cast_from(src: Src) -> Dst
fn unwrapped_cast_from(src: Src) -> Dst
Casts the value.
Source§impl<T> WrappingAs for T
impl<T> WrappingAs for T
Source§fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
Casts the value.
Source§impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
Src: WrappingCast<Dst>,
impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
Src: WrappingCast<Dst>,
Source§fn wrapping_cast_from(src: Src) -> Dst
fn wrapping_cast_from(src: Src) -> Dst
Casts the value.