pub struct W(/* private fields */);
Expand description
Register ADCSRA
writer
Implementations§
source§impl W
impl W
sourcepub fn adps(
&mut self
) -> FieldWriterRaw<'_, u8, ADCSRA_SPEC, u8, ADPS_A, Unsafe, 3, 0>
pub fn adps( &mut self ) -> FieldWriterRaw<'_, u8, ADCSRA_SPEC, u8, ADPS_A, Unsafe, 3, 0>
Bits 0:2 - ADC Prescaler Select Bits
sourcepub fn adie(&mut self) -> BitWriterRaw<'_, u8, ADCSRA_SPEC, bool, BitM, 3>
pub fn adie(&mut self) -> BitWriterRaw<'_, u8, ADCSRA_SPEC, bool, BitM, 3>
Bit 3 - ADC Interrupt Enable
sourcepub fn adif(&mut self) -> BitWriterRaw<'_, u8, ADCSRA_SPEC, bool, BitM, 4>
pub fn adif(&mut self) -> BitWriterRaw<'_, u8, ADCSRA_SPEC, bool, BitM, 4>
Bit 4 - ADC Interrupt Flag
sourcepub fn adate(&mut self) -> BitWriterRaw<'_, u8, ADCSRA_SPEC, bool, BitM, 5>
pub fn adate(&mut self) -> BitWriterRaw<'_, u8, ADCSRA_SPEC, bool, BitM, 5>
Bit 5 - ADC Auto Trigger Enable
sourcepub fn adsc(&mut self) -> BitWriterRaw<'_, u8, ADCSRA_SPEC, bool, BitM, 6>
pub fn adsc(&mut self) -> BitWriterRaw<'_, u8, ADCSRA_SPEC, bool, BitM, 6>
Bit 6 - ADC Start Conversion
sourcepub fn aden(&mut self) -> BitWriterRaw<'_, u8, ADCSRA_SPEC, bool, BitM, 7>
pub fn aden(&mut self) -> BitWriterRaw<'_, u8, ADCSRA_SPEC, bool, BitM, 7>
Bit 7 - ADC Enable
Methods from Deref<Target = W<ADCSRA_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for W
impl RefUnwindSafe for W
impl Send for W
impl Sync for W
impl Unpin for W
impl UnwindSafe for W
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