[][src]Struct cc13x2_cc26x2_hal::aux_adi4::comp::R

pub struct R { /* fields omitted */ }

Value read from the register

Methods

impl R[src]

pub fn bits(&self) -> u8[src]

Value of the register as raw bits

pub fn compa_ref_res_en(&self) -> COMPA_REF_RES_ENR[src]

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

Bit 6 - 6: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 reserved3(&self) -> RESERVED3R[src]

Bits 3:5 - 5:3] 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 compb_en(&self) -> COMPB_ENR[src]

Bit 2 - 2:2] COMPB enable

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

Bit 1 - 1: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(&self) -> COMPA_ENR[src]

Bit 0 - 0:0] COMPA enable

Auto Trait Implementations

impl Send for R

impl Sync for R

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