CPU

Struct CPU 

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

Register block

Implementations§

Source§

impl CPU

Source

pub const fn lp(&self) -> &LP

0x00 - CPU0 LP control

Source

pub const fn lock(&self) -> &LOCK

0x04 - CPU0 Lock GPR

Source

pub const fn gpr(&self, n: usize) -> &GPR

0x08..0x40 - no description available

Source

pub fn gpr_iter(&self) -> impl Iterator<Item = &GPR>

Iterator for array of: 0x08..0x40 - no description available

Source

pub const fn gprgpr0(&self) -> &GPR

0x08 - no description available

Source

pub const fn gprgpr1(&self) -> &GPR

0x0c - no description available

Source

pub const fn gprgpr2(&self) -> &GPR

0x10 - no description available

Source

pub const fn gprgpr3(&self) -> &GPR

0x14 - no description available

Source

pub const fn gprgpr4(&self) -> &GPR

0x18 - no description available

Source

pub const fn gprgpr5(&self) -> &GPR

0x1c - no description available

Source

pub const fn gprgpr6(&self) -> &GPR

0x20 - no description available

Source

pub const fn gprgpr7(&self) -> &GPR

0x24 - no description available

Source

pub const fn gprgpr8(&self) -> &GPR

0x28 - no description available

Source

pub const fn gprgpr9(&self) -> &GPR

0x2c - no description available

Source

pub const fn gprgpr10(&self) -> &GPR

0x30 - no description available

Source

pub const fn gprgpr11(&self) -> &GPR

0x34 - no description available

Source

pub const fn gprgpr12(&self) -> &GPR

0x38 - no description available

Source

pub const fn gprgpr13(&self) -> &GPR

0x3c - no description available

Source

pub const fn wakeup_status(&self, n: usize) -> &WAKEUP_STATUS

0x40..0x50 - no description available

Source

pub fn wakeup_status_iter(&self) -> impl Iterator<Item = &WAKEUP_STATUS>

Iterator for array of: 0x40..0x50 - no description available

Source

pub const fn wakeup_statusstatus0(&self) -> &WAKEUP_STATUS

0x40 - no description available

Source

pub const fn wakeup_statusstatus1(&self) -> &WAKEUP_STATUS

0x44 - no description available

Source

pub const fn wakeup_statusstatus2(&self) -> &WAKEUP_STATUS

0x48 - no description available

Source

pub const fn wakeup_statusstatus3(&self) -> &WAKEUP_STATUS

0x4c - no description available

Source

pub const fn wakeup_enable(&self, n: usize) -> &WAKEUP_ENABLE

0x80..0x90 - no description available

Source

pub fn wakeup_enable_iter(&self) -> impl Iterator<Item = &WAKEUP_ENABLE>

Iterator for array of: 0x80..0x90 - no description available

Source

pub const fn wakeup_enableenable0(&self) -> &WAKEUP_ENABLE

0x80 - no description available

Source

pub const fn wakeup_enableenable1(&self) -> &WAKEUP_ENABLE

0x84 - no description available

Source

pub const fn wakeup_enableenable2(&self) -> &WAKEUP_ENABLE

0x88 - no description available

Source

pub const fn wakeup_enableenable3(&self) -> &WAKEUP_ENABLE

0x8c - no description available

Auto Trait Implementations§

§

impl !Freeze for CPU

§

impl !RefUnwindSafe for CPU

§

impl Send for CPU

§

impl !Sync for CPU

§

impl Unpin for CPU

§

impl UnwindSafe for CPU

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.