RegisterBlock

Struct RegisterBlock 

Source
#[repr(C)]
pub struct RegisterBlock { /* private fields */ }
Expand description

Register block

Implementations§

Source§

impl RegisterBlock

Source

pub const fn emuxctl(&self) -> &EMUXCTL

0x00 - ADC External MUX control register

Source

pub const fn emuxdata(&self) -> &EMUXDATA

0x04 - ADC External MUX data register

Source

pub const fn adcctl(&self) -> &ADCCTL

0x08 - ADC control register

Source

pub const fn adccr(&self) -> &ADCCR

0x0c - ADC conversion result register

Source

pub const fn adcint(&self) -> &ADCINT

0x10 - ADC interrupt register

Source

pub const fn as0ctl(&self) -> &AS0CTL

0x40 - Auto sequencer 0 control register

Source

pub const fn as0s0(&self) -> &AS0S0

0x44 - Auto sequencer 0 sample 0 control register

Source

pub const fn as0r0(&self) -> &AS0R0

0x48 - Auto sequencer 0 sample 0 result register

Source

pub const fn as0s1(&self) -> &AS0S1

0x4c - Auto sequencer 0 sample 1 control register

Source

pub const fn as0r1(&self) -> &AS0R1

0x50 - Auto sequencer 0 sample 1 result register

Source

pub const fn as0s2(&self) -> &AS0S2

0x54 - Auto sequencer 0 sample 2 control register

Source

pub const fn as0r2(&self) -> &AS0R2

0x58 - Auto sequencer 0 sample 2 result register

Source

pub const fn as0s3(&self) -> &AS0S3

0x5c - Auto sequencer 0 sample 3 control register

Source

pub const fn as0r3(&self) -> &AS0R3

0x60 - Auto sequencer 0 sample 3 result register

Source

pub const fn as0s4(&self) -> &AS0S4

0x64 - Auto sequencer 0 sample 4 control register

Source

pub const fn as0r4(&self) -> &AS0R4

0x68 - Auto sequencer 0 sample 4 result register

Source

pub const fn as0s5(&self) -> &AS0S5

0x6c - Auto sequencer 0 sample 5 control register

Source

pub const fn as0r5(&self) -> &AS0R5

0x70 - Auto sequencer 0 sample 5 result register

Source

pub const fn as0s6(&self) -> &AS0S6

0x74 - Auto sequencer 0 sample 6 control register

Source

pub const fn as0r6(&self) -> &AS0R6

0x78 - Auto sequencer 0 sample 6 result register

Source

pub const fn as0s7(&self) -> &AS0S7

0x7c - Auto sequencer 0 sample 7 control register

Source

pub const fn as0r7(&self) -> &AS0R7

0x80 - Auto sequencer 0 sample 7 result register

Source

pub const fn as1ctl(&self) -> &AS1CTL

0x100 - Auto sequencer 1 control register

Source

pub const fn as1s0(&self) -> &AS1S0

0x104 - Auto sequencer 1 sample 0 control register

Source

pub const fn as1r0(&self) -> &AS1R0

0x108 - Auto sequencer 1 sample 0 result register

Source

pub const fn as1s1(&self) -> &AS1S1

0x10c - Auto sequencer 1 sample 1 control register

Source

pub const fn as1r1(&self) -> &AS1R1

0x110 - Auto sequencer 1 sample 1 result register

Source

pub const fn as1s2(&self) -> &AS1S2

0x114 - Auto sequencer 1 sample 2 control register

Source

pub const fn as1r2(&self) -> &AS1R2

0x118 - Auto sequencer 1 sample 2 result register

Source

pub const fn as1s3(&self) -> &AS1S3

0x11c - Auto sequencer 1 sample 3 control register

Source

pub const fn as1r3(&self) -> &AS1R3

0x120 - Auto sequencer 1 sample 3 result register

Source

pub const fn as1s4(&self) -> &AS1S4

0x124 - Auto sequencer 1 sample 4 control register

Source

pub const fn as1r4(&self) -> &AS1R4

0x128 - Auto sequencer 1 sample 4 result register

Source

pub const fn as1s5(&self) -> &AS1S5

0x12c - Auto sequencer 1 sample 5 control register

Source

pub const fn as1r5(&self) -> &AS1R5

0x130 - Auto sequencer 1 sample 5 result register

Source

pub const fn as1s6(&self) -> &AS1S6

0x134 - Auto sequencer 1 sample 6 control register

Source

pub const fn as1r6(&self) -> &AS1R6

0x138 - Auto sequencer 1 sample 6 result register

Source

pub const fn as1s7(&self) -> &AS1S7

0x13c - Auto sequencer 1 sample 7 control register

Source

pub const fn as1r7(&self) -> &AS1R7

0x140 - Auto sequencer 1 sample 7 result register

Trait Implementations§

Source§

impl Debug for RegisterBlock

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.