RegisterBlock

Struct RegisterBlock 

Source
pub struct RegisterBlock {
Show 17 fields pub cfg: CFG, pub cr: CR, pub ir: IR, pub sr: SR, pub imgsiz: IMGSIZ, pub imgstr: IMGSTR, pub csbase: CSBASE, pub ubase: UBASE, pub vbase: VBASE, pub qtbase: QTBASE, pub htbase: HTBASE, pub codlen: CODLEN, pub qtable0_: [QTABLE0_; 16], pub qtable1_: [QTABLE1_; 16], pub qtable2_: [QTABLE2_; 16], pub htable0: HTABLE0, pub htable1: HTABLE1, /* private fields */
}
Expand description

Register block

Fields§

§cfg: CFG

0x00 - CFG register

§cr: CR

0x04 - CR register

§ir: IR

0x08 - IR register

§sr: SR

0x0c - SR register

§imgsiz: IMGSIZ

0x10 - IMGSIZ register

§imgstr: IMGSTR

0x14 - IMGSTR register

§csbase: CSBASE

0x18 - CSBASE register

§ubase: UBASE

0x20 - UBASE register

§vbase: VBASE

0x24 - VBASE register

§qtbase: QTBASE

0x28 - QTBASE register

§htbase: HTBASE

0x2c - HTBASE register

§codlen: CODLEN

0x30 - CODLEN register

§qtable0_: [QTABLE0_; 16]

0x100..0x140 - QTABLE0_ register

§qtable1_: [QTABLE1_; 16]

0x140..0x180 - QTABLE1_ register

§qtable2_: [QTABLE2_; 16]

0x180..0x1c0 - QTABLE2_ register

§htable0: HTABLE0

0x200..0x2fc - register cluster

§htable1: HTABLE1

0x300..0x3fc - register cluster

Implementations§

Source§

impl RegisterBlock

Source

pub fn rgbase(&self) -> &RGBASE

0x1c - RGBASE register

Source

pub fn ybase(&self) -> &YBASE

0x1c - YBASE 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.