Enum nrf52840_pac::comp::refsel::REFSEL_A
source · #[repr(u8)]pub enum REFSEL_A {
INT1V2 = 0,
INT1V8 = 1,
INT2V4 = 2,
VDD = 4,
AREF = 5,
}
Expand description
Reference select
Value on reset: 4
Variants§
INT1V2 = 0
0: VREF = internal 1.2 V reference (VDD >= 1.7 V)
INT1V8 = 1
1: VREF = internal 1.8 V reference (VDD >= VREF + 0.2 V)
INT2V4 = 2
2: VREF = internal 2.4 V reference (VDD >= VREF + 0.2 V)
VDD = 4
4: VREF = VDD
AREF = 5
5: VREF = AREF (VDD >= VREF >= AREFMIN)
Trait Implementations§
impl Copy for REFSEL_A
impl StructuralPartialEq for REFSEL_A
Auto Trait Implementations§
impl Freeze for REFSEL_A
impl RefUnwindSafe for REFSEL_A
impl Send for REFSEL_A
impl Sync for REFSEL_A
impl Unpin for REFSEL_A
impl UnwindSafe for REFSEL_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
)