Struct xmc4300::vadc_g0::RegisterBlock

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

Register block

Implementations§

source§

impl RegisterBlock

source

pub const fn arbcfg(&self) -> &ARBCFG

0x80 - Arbitration Configuration Register

source

pub const fn arbpr(&self) -> &ARBPR

0x84 - Arbitration Priority Register

source

pub const fn chass(&self) -> &CHASS

0x88 - Channel Assignment Register

source

pub const fn iclass(&self, n: usize) -> &ICLASS

0xa0..0xa8 - Input Class Register

source

pub fn iclass_iter(&self) -> impl Iterator<Item = &ICLASS>

Iterator for array of: 0xa0..0xa8 - Input Class Register

source

pub const fn alias(&self) -> &ALIAS

0xb0 - Alias Register

source

pub const fn bound(&self) -> &BOUND

0xb8 - Boundary Select Register

source

pub const fn synctr(&self) -> &SYNCTR

0xc0 - Synchronization Control Register

source

pub const fn bfl(&self) -> &BFL

0xc8 - Boundary Flag Register

source

pub const fn bfls(&self) -> &BFLS

0xcc - Boundary Flag Software Register

source

pub const fn bflc(&self) -> &BFLC

0xd0 - Boundary Flag Control Register

source

pub const fn bflnp(&self) -> &BFLNP

0xd4 - Boundary Flag Node Pointer Register

source

pub const fn qctrl0(&self) -> &QCTRL0

0x100 - Queue 0 Source Control Register

source

pub const fn qmr0(&self) -> &QMR0

0x104 - Queue 0 Mode Register

source

pub const fn qsr0(&self) -> &QSR0

0x108 - Queue 0 Status Register

source

pub const fn q0r0(&self) -> &Q0R0

0x10c - Queue 0 Register 0

source

pub const fn qbur0(&self) -> &QBUR0

0x110 - Queue 0 Backup Register

source

pub const fn qinr0(&self) -> &QINR0

0x110 - Queue 0 Input Register

source

pub const fn asctrl(&self) -> &ASCTRL

0x120 - Autoscan Source Control Register

source

pub const fn asmr(&self) -> &ASMR

0x124 - Autoscan Source Mode Register

source

pub const fn assel(&self) -> &ASSEL

0x128 - Autoscan Source Channel Select Register

source

pub const fn aspnd(&self) -> &ASPND

0x12c - Autoscan Source Pending Register

source

pub const fn ceflag(&self) -> &CEFLAG

0x180 - Channel Event Flag Register

source

pub const fn reflag(&self) -> &REFLAG

0x184 - Result Event Flag Register

source

pub const fn seflag(&self) -> &SEFLAG

0x188 - Source Event Flag Register

source

pub const fn cefclr(&self) -> &CEFCLR

0x190 - Channel Event Flag Clear Register

source

pub const fn refclr(&self) -> &REFCLR

0x194 - Result Event Flag Clear Register

source

pub const fn sefclr(&self) -> &SEFCLR

0x198 - Source Event Flag Clear Register

source

pub const fn cevnp0(&self) -> &CEVNP0

0x1a0 - Channel Event Node Pointer Register 0

source

pub const fn revnp0(&self) -> &REVNP0

0x1b0 - Result Event Node Pointer Register 0

source

pub const fn revnp1(&self) -> &REVNP1

0x1b4 - Result Event Node Pointer Register 1

source

pub const fn sevnp(&self) -> &SEVNP

0x1c0 - Source Event Node Pointer Register

source

pub const fn sract(&self) -> &SRACT

0x1c8 - Service Request Software Activation Trigger

source

pub const fn emuxctr(&self) -> &EMUXCTR

0x1f0 - E0ternal Multiplexer Control Register

source

pub const fn vfr(&self) -> &VFR

0x1f8 - Valid Flag Register

source

pub const fn chctr(&self, n: usize) -> &CHCTR

0x200..0x220 - Channel Ctrl. Reg.

source

pub fn chctr_iter(&self) -> impl Iterator<Item = &CHCTR>

Iterator for array of: 0x200..0x220 - Channel Ctrl. Reg.

source

pub const fn rcr(&self, n: usize) -> &RCR

0x280..0x2c0 - Result Control Register

source

pub fn rcr_iter(&self) -> impl Iterator<Item = &RCR>

Iterator for array of: 0x280..0x2c0 - Result Control Register

source

pub const fn res(&self, n: usize) -> &RES

0x300..0x340 - Result Register

source

pub fn res_iter(&self) -> impl Iterator<Item = &RES>

Iterator for array of: 0x300..0x340 - Result Register

source

pub const fn resd(&self, n: usize) -> &RESD

0x380..0x3c0 - Result Register, Debug

source

pub fn resd_iter(&self) -> impl Iterator<Item = &RESD>

Iterator for array of: 0x380..0x3c0 - Result Register, Debug

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>,

§

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>,

§

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.