[][src]Struct avr_device::atmega1280::adc::adcsra::W

pub struct W(_);

Register ADCSRA writer

Implementations

impl W[src]

pub fn adps(&mut self) -> ADPS_W<'_>[src]

Bits 0:2 - ADC Prescaler Select Bits

pub fn adie(&mut self) -> ADIE_W<'_>[src]

Bit 3 - ADC Interrupt Enable

pub fn adif(&mut self) -> ADIF_W<'_>[src]

Bit 4 - ADC Interrupt Flag

pub fn adate(&mut self) -> ADATE_W<'_>[src]

Bit 5 - ADC Auto Trigger Enable

pub fn adsc(&mut self) -> ADSC_W<'_>[src]

Bit 6 - ADC Start Conversion

pub fn aden(&mut self) -> ADEN_W<'_>[src]

Bit 7 - ADC Enable

pub unsafe fn bits(&mut self, bits: u8) -> &mut Self[src]

Writes raw bits to the register.

Methods from Deref<Target = W<ADCSRA_SPEC>>

pub unsafe fn bits(&mut self, bits: REG::Ux)[src]

Writes raw bits to the register.

Trait Implementations

impl Deref for W[src]

type Target = W<ADCSRA_SPEC>

The resulting type after dereferencing.

impl DerefMut for W[src]

impl From<W<ADCSRA_SPEC>> for W[src]

Auto Trait Implementations

impl Send for W

impl Sync for W

impl Unpin for W

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.