[][src]Struct cc13x2_cc26x2_hal::aux_adi4::adcref0::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: u8) -> &mut Self[src]

Writes raw bits to the register

pub fn spare7(&mut self) -> _SPARE7W[src]

Bit 7 - 7:7] 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 ref_on_idle(&mut self) -> _REF_ON_IDLEW[src]

Bit 6 - 6:6] Keep ADCREF powered up in IDLE state when ADC0.SMPL_MODE = 0. Set to 1 if ADC0.SMPL_CYCLE_EXP is less than 6 (21.3us sampling time)

pub fn iomux(&mut self) -> _IOMUXW[src]

Bit 5 - 5:5] Internal. Only to be used through TI provided API.

pub fn ext(&mut self) -> _EXTW[src]

Bit 4 - 4:4] Internal. Only to be used through TI provided API.

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

Bit 3 - 3:3] ADC reference source: 0: Fixed reference = 4.3V 1: Relative reference = VDDS

pub fn reserved1(&mut self) -> _RESERVED1W[src]

Bits 1:2 - 2:1] 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 en(&mut self) -> _ENW[src]

Bit 0 - 0:0] ADC reference module enable: 0: ADC reference module powered down 1: ADC reference module enabled

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