RegisterBlock

Struct RegisterBlock 

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

Register block

Implementations§

Source§

impl RegisterBlock

Source

pub const fn mem_start_addr(&self) -> &MEM_START_ADDR

0x00 - mem start addr

Source

pub const fn mem_end_addr(&self) -> &MEM_END_ADDR

0x04 - mem end addr

Source

pub const fn mem_current_addr(&self) -> &MEM_CURRENT_ADDR

0x08 - mem current addr

Source

pub const fn mem_addr_update(&self) -> &MEM_ADDR_UPDATE

0x0c - mem addr update

Source

pub const fn fifo_status(&self) -> &FIFO_STATUS

0x10 - fifo status register

Source

pub const fn intr_ena(&self) -> &INTR_ENA

0x14 - interrupt enable register

Source

pub const fn intr_raw(&self) -> &INTR_RAW

0x18 - interrupt status register

Source

pub const fn intr_clr(&self) -> &INTR_CLR

0x1c - interrupt clear register

Source

pub const fn trigger(&self) -> &TRIGGER

0x20 - trigger register

Source

pub const fn config(&self) -> &CONFIG

0x24 - trace configuration register

Source

pub const fn filter_control(&self) -> &FILTER_CONTROL

0x28 - filter control register

Source

pub const fn filter_match_control(&self) -> &FILTER_MATCH_CONTROL

0x2c - filter match control register

Source

pub const fn filter_comparator_control(&self) -> &FILTER_COMPARATOR_CONTROL

0x30 - filter comparator match control register

Source

pub const fn filter_p_comparator_match(&self) -> &FILTER_P_COMPARATOR_MATCH

0x34 - primary comparator match value

Source

pub const fn filter_s_comparator_match(&self) -> &FILTER_S_COMPARATOR_MATCH

0x38 - secondary comparator match value

Source

pub const fn resync_prolonged(&self) -> &RESYNC_PROLONGED

0x3c - resync configuration register

Source

pub const fn ahb_config(&self) -> &AHB_CONFIG

0x40 - AHB config register

Source

pub const fn clock_gate(&self) -> &CLOCK_GATE

0x44 - Clock gate control register

Source

pub const fn date(&self) -> &DATE

0x3fc - Version control 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.