Struct xmc4800::usic0_ch0::RegisterBlock

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

Register block

Implementations§

source§

impl RegisterBlock

source

pub const fn ccfg(&self) -> &CCFG

0x04 - Channel Configuration Register

source

pub const fn kscfg(&self) -> &KSCFG

0x0c - Kernel State Configuration Register

source

pub const fn fdr(&self) -> &FDR

0x10 - Fractional Divider Register

source

pub const fn brg(&self) -> &BRG

0x14 - Baud Rate Generator Register

source

pub const fn inpr(&self) -> &INPR

0x18 - Interrupt Node Pointer Register

source

pub const fn dx0cr(&self) -> &DX0CR

0x1c - Input Control Register 0

source

pub const fn dx1cr(&self) -> &DX1CR

0x20 - Input Control Register 1

source

pub const fn dx2cr(&self) -> &DX2CR

0x24 - Input Control Register 2

source

pub const fn dx3cr(&self) -> &DX3CR

0x28 - Input Control Register 3

source

pub const fn dx4cr(&self) -> &DX4CR

0x2c - Input Control Register 4

source

pub const fn dx5cr(&self) -> &DX5CR

0x30 - Input Control Register 5

source

pub const fn sctr(&self) -> &SCTR

0x34 - Shift Control Register

source

pub const fn tcsr(&self) -> &TCSR

0x38 - Transmit Control/Status Register

source

pub const fn pcr_iismode(&self) -> &PCR_IISMODE

0x3c - Protocol Control Register [IIS Mode]

source

pub const fn pcr_iicmode(&self) -> &PCR_IICMODE

0x3c - Protocol Control Register [IIC Mode]

source

pub const fn pcr_sscmode(&self) -> &PCR_SSCMODE

0x3c - Protocol Control Register [SSC Mode]

source

pub const fn pcr_ascmode(&self) -> &PCR_ASCMODE

0x3c - Protocol Control Register [ASC Mode]

source

pub const fn pcr(&self) -> &PCR

0x3c - Protocol Control Register

source

pub const fn ccr(&self) -> &CCR

0x40 - Channel Control Register

source

pub const fn cmtr(&self) -> &CMTR

0x44 - Capture Mode Timer Register

source

pub const fn psr_iismode(&self) -> &PSR_IISMODE

0x48 - Protocol Status Register [IIS Mode]

source

pub const fn psr_iicmode(&self) -> &PSR_IICMODE

0x48 - Protocol Status Register [IIC Mode]

source

pub const fn psr_sscmode(&self) -> &PSR_SSCMODE

0x48 - Protocol Status Register [SSC Mode]

source

pub const fn psr_ascmode(&self) -> &PSR_ASCMODE

0x48 - Protocol Status Register [ASC Mode]

source

pub const fn psr(&self) -> &PSR

0x48 - Protocol Status Register

source

pub const fn pscr(&self) -> &PSCR

0x4c - Protocol Status Clear Register

source

pub const fn rbufsr(&self) -> &RBUFSR

0x50 - Receiver Buffer Status Register

source

pub const fn rbuf(&self) -> &RBUF

0x54 - Receiver Buffer Register

source

pub const fn rbufd(&self) -> &RBUFD

0x58 - Receiver Buffer Register for Debugger

source

pub const fn rbuf0(&self) -> &RBUF0

0x5c - Receiver Buffer Register 0

source

pub const fn rbuf1(&self) -> &RBUF1

0x60 - Receiver Buffer Register 1

source

pub const fn rbuf01sr(&self) -> &RBUF01SR

0x64 - Receiver Buffer 01 Status Register

source

pub const fn fmr(&self) -> &FMR

0x68 - Flag Modification Register

source

pub const fn tbuf(&self, n: usize) -> &TBUF

0x80..0x100 - Transmit Buffer

source

pub fn tbuf_iter(&self) -> impl Iterator<Item = &TBUF>

Iterator for array of: 0x80..0x100 - Transmit Buffer

source

pub const fn byp(&self) -> &BYP

0x100 - Bypass Data Register

source

pub const fn bypcr(&self) -> &BYPCR

0x104 - Bypass Control Register

source

pub const fn tbctr(&self) -> &TBCTR

0x108 - Transmitter Buffer Control Register

source

pub const fn rbctr(&self) -> &RBCTR

0x10c - Receiver Buffer Control Register

source

pub const fn trbptr(&self) -> &TRBPTR

0x110 - Transmit/Receive Buffer Pointer Register

source

pub const fn trbsr(&self) -> &TRBSR

0x114 - Transmit/Receive Buffer Status Register

source

pub const fn trbscr(&self) -> &TRBSCR

0x118 - Transmit/Receive Buffer Status Clear Register

source

pub const fn outr(&self) -> &OUTR

0x11c - Receiver Buffer Output Register

source

pub const fn outdr(&self) -> &OUTDR

0x120 - Receiver Buffer Output Register L for Debugger

source

pub const fn in_(&self, n: usize) -> &IN

0x180..0x200 - Transmit FIFO Buffer

source

pub fn in__iter(&self) -> impl Iterator<Item = &IN>

Iterator for array of: 0x180..0x200 - Transmit FIFO Buffer

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.