[][src]Struct cc13x2_cc26x2_hal::aux_anaif::adcctl::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

pub fn reset_value() -> W[src]

Reset value of the register

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

Writes raw bits to the register

pub fn reserved15(&mut self) -> _RESERVED15W[src]

Bits 15:31 - 31:15] Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior.

pub fn start_pol(&mut self) -> _START_POLW[src]

Bit 14 - 14:14] Select active polarity for START_SRC event.

pub fn start_src(&mut self) -> _START_SRCW[src]

Bits 8:13 - 13:8] Select ADC trigger event source from the asynchronous AUX event bus. Set START_SRC to NO_EVENT if you want to trigger the ADC manually through ADCTRIG.START. If you write a non-enumerated value the behavior is identical to NO_EVENT. The written value is returned when read.

pub fn reserved2(&mut self) -> _RESERVED2W[src]

Bits 2:7 - 7:2] Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior.

pub fn cmd(&mut self) -> _CMDW[src]

Bits 0:1 - 1:0] ADC interface command. Non-enumerated values are not supported. The written value is returned when read.

Auto Trait Implementations

impl Send for W

impl Sync for W

Blanket Implementations

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

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

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

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

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

impl<T> Same for T

type Output = T

Should always be Self