#[repr(u8)]pub enum ADCBIASPROG_A {
NORMAL = 0,
SCALE2 = 4,
SCALE4 = 8,
SCALE8 = 12,
SCALE16 = 14,
SCALE32 = 15,
}
Expand description
Bias Programming Value of Analog ADC Block
Value on reset: 0
Variants§
NORMAL = 0
0: Normal power (use for 1Msps operation)
SCALE2 = 4
4: Scaling bias to 1/2
SCALE4 = 8
8: Scaling bias to 1/4
SCALE8 = 12
12: Scaling bias to 1/8
SCALE16 = 14
14: Scaling bias to 1/16
SCALE32 = 15
15: Scaling bias to 1/32
Trait Implementations§
Source§impl Clone for ADCBIASPROG_A
impl Clone for ADCBIASPROG_A
Source§fn clone(&self) -> ADCBIASPROG_A
fn clone(&self) -> ADCBIASPROG_A
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ADCBIASPROG_A
impl Debug for ADCBIASPROG_A
Source§impl From<ADCBIASPROG_A> for u8
impl From<ADCBIASPROG_A> for u8
Source§fn from(variant: ADCBIASPROG_A) -> Self
fn from(variant: ADCBIASPROG_A) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ADCBIASPROG_A
impl PartialEq for ADCBIASPROG_A
impl Copy for ADCBIASPROG_A
impl Eq for ADCBIASPROG_A
impl StructuralPartialEq for ADCBIASPROG_A
Auto Trait Implementations§
impl Freeze for ADCBIASPROG_A
impl RefUnwindSafe for ADCBIASPROG_A
impl Send for ADCBIASPROG_A
impl Sync for ADCBIASPROG_A
impl Unpin for ADCBIASPROG_A
impl UnwindSafe for ADCBIASPROG_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