Struct RegisterBlock

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

Register block

Implementations§

Source§

impl RegisterBlock

Source

pub const fn mult_int_raw(&self) -> &MULT_INT_RAW

0x0c - I2S interrupt raw register, valid in level.

Source

pub const fn mult_int_st(&self) -> &MULT_INT_ST

0x10 - I2S interrupt status register.

Source

pub const fn mult_int_ena(&self) -> &MULT_INT_ENA

0x14 - I2S interrupt enable register.

Source

pub const fn mult_int_clr(&self) -> &MULT_INT_CLR

0x18 - I2S interrupt clear register.

Source

pub const fn mult_conf(&self) -> &MULT_CONF

0x1c - I2S RX configure register

Source

pub const fn mult_date(&self) -> &MULT_DATE

0xfc - Version control register

Source

pub const fn k_mem(&self, n: usize) -> &K_MEM

0x100..0x120 - The memory that stores k.

Source

pub fn k_mem_iter(&self) -> impl Iterator<Item = &K_MEM>

Iterator for array of: 0x100..0x120 - The memory that stores k.

Source

pub const fn px_mem(&self, n: usize) -> &PX_MEM

0x120..0x140 - The memory that stores Px.

Source

pub fn px_mem_iter(&self) -> impl Iterator<Item = &PX_MEM>

Iterator for array of: 0x120..0x140 - The memory that stores Px.

Source

pub const fn py_mem(&self, n: usize) -> &PY_MEM

0x140..0x160 - The memory that stores Py.

Source

pub fn py_mem_iter(&self) -> impl Iterator<Item = &PY_MEM>

Iterator for array of: 0x140..0x160 - The memory that stores Py.

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.