RegisterBlock

Struct RegisterBlock 

Source
pub struct RegisterBlock { /* private fields */ }
Expand description

Register block

Implementations§

Source§

impl RegisterBlock

Source

pub const fn adc_cfg(&self) -> &ADC_CFG

0x00 - ADC configuration register

Source

pub const fn adc_start(&self) -> &ADC_START

0x04 - ADC boot register

Source

pub const fn adc_ie(&self) -> &ADC_IE

0x08 - ADC interrupt enable register

Source

pub const fn adc_if(&self) -> &ADC_IF

0x0c - ADC Interrupt status Register

Source

pub const fn adc_ch0_stat(&self) -> &ADC_CH0_STAT

0x10 - ADC0 status register

Source

pub const fn adc_ch0_data(&self) -> &ADC_CH0_DATA

0x14 - ADC0 data register

Source

pub const fn adc_ch1_stat(&self) -> &ADC_CH1_STAT

0x18 - ADC1 status register

Source

pub const fn adc_ch1_data(&self) -> &ADC_CH1_DATA

0x1c - ADC1 data register

Source

pub const fn adc_ch2_stat(&self) -> &ADC_CH2_STAT

0x20 - ADC2 status register

Source

pub const fn adc_ch2_data(&self) -> &ADC_CH2_DATA

0x24 - ADC2 data register

Source

pub const fn adc_ch3_stat(&self) -> &ADC_CH3_STAT

0x28 - ADC3 status register

Source

pub const fn adc_ch3_data(&self) -> &ADC_CH3_DATA

0x2c - ADC3 data register

Source

pub const fn adc_ch4_stat(&self) -> &ADC_CH4_STAT

0x30 - ADC4 status register

Source

pub const fn adc_ch4_data(&self) -> &ADC_CH4_DATA

0x34 - ADC4 data register

Source

pub const fn adc_ch5_stat(&self) -> &ADC_CH5_STAT

0x38 - ADC5 status register

Source

pub const fn adc_ch5_data(&self) -> &ADC_CH5_DATA

0x3c - ADC5 data register

Source

pub const fn adc_ch6_stat(&self) -> &ADC_CH6_STAT

0x40 - ADC6 status register

Source

pub const fn adc_ch6_data(&self) -> &ADC_CH6_DATA

0x44 - ADC6 data register

Source

pub const fn adc_ch7_stat(&self) -> &ADC_CH7_STAT

0x48 - ADC7 status register

Source

pub const fn adc_ch7_data(&self) -> &ADC_CH7_DATA

0x4c - ADC7 data register

Source

pub const fn adc_ch8_stat(&self) -> &ADC_CH8_STAT

0x50 - ADC8 status register

Source

pub const fn adc_ch8_data(&self) -> &ADC_CH8_DATA

0x54 - ADC8 data register

Source

pub const fn adc_ch9_stat(&self) -> &ADC_CH9_STAT

0x58 - ADC9 status register

Source

pub const fn adc_ch9_data(&self) -> &ADC_CH9_DATA

0x5c - ADC9 data register

Source

pub const fn adc_ch10_stat(&self) -> &ADC_CH10_STAT

0x60 - ADC10 status register

Source

pub const fn adc_ch10_data(&self) -> &ADC_CH10_DATA

0x64 - ADC10 data register

Source

pub const fn adc_ch11_stat(&self) -> &ADC_CH11_STAT

0x68 - ADC11 status register

Source

pub const fn adc_ch11_data(&self) -> &ADC_CH11_DATA

0x6c - ADC11 data register

Source

pub const fn adc_ch12_stat(&self) -> &ADC_CH12_STAT

0x70 - ADC12 status register

Source

pub const fn adc_ch12_data(&self) -> &ADC_CH12_DATA

0x74 - ADC12 data register

Source

pub const fn adc_ch13_stat(&self) -> &ADC_CH13_STAT

0x78 - ADC13 status register

Source

pub const fn adc_ch13_data(&self) -> &ADC_CH13_DATA

0x7c - ADC13 data register

Source

pub const fn adc_ch14_stat(&self) -> &ADC_CH14_STAT

0x80 - ADC14 status register

Source

pub const fn adc_ch14_data(&self) -> &ADC_CH14_DATA

0x84 - ADC14 data register

Source

pub const fn adc_ch15_stat(&self) -> &ADC_CH15_STAT

0x88 - ADC15 status register

Source

pub const fn adc_ch15_data(&self) -> &ADC_CH15_DATA

0x8c - ADC15 data register

Source

pub const fn adc_fifo_stat(&self) -> &ADC_FIFO_STAT

0xa0 - ADC FIFO status register

Source

pub const fn adc_fifo_data(&self) -> &ADC_FIFO_DATA

0xa4 - ADC FIFO data register

Source

pub const fn exttrig_sel(&self) -> &EXTTRIG_SEL

0xb0 - External signal trigger ADC

Source

pub const fn adc_calib_offset(&self) -> &ADC_CALIB_OFFSET

0xf0 - ADC calibration OFFSET register

Source

pub const fn adc_calib_kd(&self) -> &ADC_CALIB_KD

0xf4 - ADC calibration KD register

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.