Enum nrf52840_pac::comp::psel::PSEL_A
source · #[repr(u8)]pub enum PSEL_A {
ANALOG_INPUT0 = 0,
ANALOG_INPUT1 = 1,
ANALOG_INPUT2 = 2,
ANALOG_INPUT3 = 3,
ANALOG_INPUT4 = 4,
ANALOG_INPUT5 = 5,
ANALOG_INPUT6 = 6,
ANALOG_INPUT7 = 7,
}
Expand description
Analog pin select
Value on reset: 0
Variants§
ANALOG_INPUT0 = 0
0: AIN0 selected as analog input
ANALOG_INPUT1 = 1
1: AIN1 selected as analog input
ANALOG_INPUT2 = 2
2: AIN2 selected as analog input
ANALOG_INPUT3 = 3
3: AIN3 selected as analog input
ANALOG_INPUT4 = 4
4: AIN4 selected as analog input
ANALOG_INPUT5 = 5
5: AIN5 selected as analog input
ANALOG_INPUT6 = 6
6: AIN6 selected as analog input
ANALOG_INPUT7 = 7
7: AIN7 selected as analog input
Trait Implementations§
impl Copy for PSEL_A
impl StructuralPartialEq for PSEL_A
Auto Trait Implementations§
impl Freeze for PSEL_A
impl RefUnwindSafe for PSEL_A
impl Send for PSEL_A
impl Sync for PSEL_A
impl Unpin for PSEL_A
impl UnwindSafe for PSEL_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
)