Enum avr_device::atmega328p::adc::admux::MUX_A
source · #[repr(u8)]pub enum MUX_A {
ADC0 = 0,
ADC1 = 1,
ADC2 = 2,
ADC3 = 3,
ADC4 = 4,
ADC5 = 5,
ADC6 = 6,
ADC7 = 7,
TEMPSENS = 8,
ADC_VBG = 14,
ADC_GND = 15,
}
Expand description
Analog Channel Selection Bits
Value on reset: 0
Variants§
ADC0 = 0
0: ADC Single Ended Input pin 0
ADC1 = 1
1: ADC Single Ended Input pin 1
ADC2 = 2
2: ADC Single Ended Input pin 2
ADC3 = 3
3: ADC Single Ended Input pin 3
ADC4 = 4
4: ADC Single Ended Input pin 4
ADC5 = 5
5: ADC Single Ended Input pin 5
ADC6 = 6
6: ADC Single Ended Input pin 6
ADC7 = 7
7: ADC Single Ended Input pin 7
TEMPSENS = 8
8: Temperature sensor
ADC_VBG = 14
14: Internal Reference (VBG)
ADC_GND = 15
15: 0V (GND)
Trait Implementations§
source§impl PartialEq for MUX_A
impl PartialEq for MUX_A
impl Copy for MUX_A
impl Eq for MUX_A
impl StructuralPartialEq for MUX_A
Auto Trait Implementations§
impl RefUnwindSafe for MUX_A
impl Send for MUX_A
impl Sync for MUX_A
impl Unpin for MUX_A
impl UnwindSafe for MUX_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