[][src]Struct cc2538::soc_adc::RegisterBlock

#[repr(C)]
pub struct RegisterBlock {
    pub adccon1: ADCCON1,
    pub adccon2: ADCCON2,
    pub adccon3: ADCCON3,
    pub adcl: ADCL,
    pub adch: ADCH,
    pub rndl: RNDL,
    pub rndh: RNDH,
    pub cmpctl: CMPCTL,
    // some fields omitted
}

Register block

Fields

adccon1: ADCCON1

0x00 - This register controls the ADC.

adccon2: ADCCON2

0x04 - This register controls the ADC.

adccon3: ADCCON3

0x08 - This register controls the ADC.

adcl: ADCL

0x0c - This register contains the least-significant part of ADC conversion result.

adch: ADCH

0x10 - This register contains the most-significant part of ADC conversion result.

rndl: RNDL

0x14 - This registers contains random-number-generator data; low byte.

rndh: RNDH

0x18 - This register contains random-number-generator data; high byte.

cmpctl: CMPCTL

0x24 - Analog comparator control and status register.

Auto Trait Implementations

Blanket Implementations

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> Into<U> for T where
    U: From<T>, 
[src]

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

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.

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self