#[repr(u8)]pub enum Refsel {
INT1V2 = 0,
INT1V8 = 1,
INT2V4 = 2,
_RESERVED_3 = 3,
VDD = 4,
AREF = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
}
Variants§
INT1V2 = 0
VREF = internal 1.2 V reference (VDD >= 1.7 V)
INT1V8 = 1
VREF = internal 1.8 V reference (VDD >= VREF + 0.2 V)
INT2V4 = 2
VREF = internal 2.4 V reference (VDD >= VREF + 0.2 V)
_RESERVED_3 = 3
VDD = 4
VREF = VDD
AREF = 5
VREF = AREF
_RESERVED_6 = 6
_RESERVED_7 = 7
Implementations§
Trait Implementations§
Source§impl Ord for Refsel
impl Ord for Refsel
Source§impl PartialOrd for Refsel
impl PartialOrd for Refsel
impl Copy for Refsel
impl Eq for Refsel
impl StructuralPartialEq for Refsel
Auto Trait Implementations§
impl Freeze for Refsel
impl RefUnwindSafe for Refsel
impl Send for Refsel
impl Sync for Refsel
impl Unpin for Refsel
impl UnwindSafe for Refsel
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
)