#[repr(u8)]pub enum PSELN_A {
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,
VDDHDIV5 = 13,
}
Expand description
Analog negative input, enables differential channel
Value on reset: 0
Variants§
NC = 0
0: Not connected
ANALOG_INPUT0 = 1
1: AIN0
ANALOG_INPUT1 = 2
2: AIN1
ANALOG_INPUT2 = 3
3: AIN2
ANALOG_INPUT3 = 4
4: AIN3
ANALOG_INPUT4 = 5
5: AIN4
ANALOG_INPUT5 = 6
6: AIN5
ANALOG_INPUT6 = 7
7: AIN6
ANALOG_INPUT7 = 8
8: AIN7
VDD = 9
9: VDD
VDDHDIV5 = 13
13: VDDH/5
Trait Implementations§
impl Copy for PSELN_A
impl StructuralPartialEq for PSELN_A
Auto Trait Implementations§
impl Freeze for PSELN_A
impl RefUnwindSafe for PSELN_A
impl Send for PSELN_A
impl Sync for PSELN_A
impl Unpin for PSELN_A
impl UnwindSafe for PSELN_A
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)