[][src]Struct cc2650::aux_adi4::comp::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 compa_ref_res_en(&mut self) -> _COMPA_REF_RES_ENW[src]

Bit 7 - Enables 400kohm resistance from COMPA reference node to ground. Used with COMPA_REF_CURR_EN to generate voltage reference for cap-sense.

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

Bit 6 - Enables 2uA IPTAT current from ISRC to COMPA reference node. Requires ISRC.EN = 1. Used with COMPA_REF_RES_EN to generate voltage reference for cap-sense.

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

Bits 3:5 - COMPB voltage reference trim temperature coded:

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

Bit 2 - COMPB enable

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

Bit 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 compa_en(&mut self) -> _COMPA_ENW[src]

Bit 0 - COMPA enable

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]