Struct va416xx::dac0::RegisterBlock

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

Register block

Implementations§

source§

impl RegisterBlock

source

pub const fn ctrl0(&self) -> &Ctrl0

0x00 - Control Register 0

source

pub const fn ctrl1(&self) -> &Ctrl1

0x04 - Control Register 1

source

pub const fn fifo_data(&self) -> &FifoData

0x08 - FIFO data

source

pub const fn status(&self) -> &Status

0x0c - Status

source

pub const fn irq_enb(&self) -> &IrqEnb

0x10 - Interrupt Enable

source

pub const fn irq_raw(&self) -> &IrqRaw

0x14 - Raw Interrupt Status

source

pub const fn irq_end(&self) -> &IrqEnd

0x18 - Enabled Interrupt Status

source

pub const fn irq_clr(&self) -> &IrqClr

0x1c - Clear Interrupt

source

pub const fn txfifoirqtrg(&self) -> &Txfifoirqtrg

0x20 - Receive FIFO Interrupt Trigger Value

source

pub const fn fifo_clr(&self) -> &FifoClr

0x24 - FIFO Clear

source

pub const fn perid(&self) -> &Perid

0x7fc - Peripheral ID 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>,

§

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.