#[repr(u8)]pub enum REFS_A {
VCC = 0,
AREF = 1,
INTERNAL = 2,
INTERNAL_BYPASS = 3,
}
Expand description
Reference Selection Bits
Value on reset: 0
Variants§
VCC = 0
0: Vcc used as Voltage Reference, disconnected from Aref
AREF = 1
1: External Voltage Reference at AREF pin, Internal Voltage Reference turned off
INTERNAL = 2
2: Internal Voltage Reference (1.1V when REFS2 is cleared, 2.56V when REFS2 is set) without external bypass
INTERNAL_BYPASS = 3
3: Internal 2.56V Voltage Reference with external bypass capacitor at AREF pin (REFS2 must be set)
Trait Implementations§
source§impl PartialEq for REFS_A
impl PartialEq for REFS_A
impl Copy for REFS_A
impl Eq for REFS_A
impl StructuralPartialEq for REFS_A
Auto Trait Implementations§
impl RefUnwindSafe for REFS_A
impl Send for REFS_A
impl Sync for REFS_A
impl Unpin for REFS_A
impl UnwindSafe for REFS_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