RegisterBlock

Struct RegisterBlock 

#[repr(C)]
pub struct RegisterBlock {
Show 19 fields mpra: Mpra, _reserved1: [u8; 28], pacra: Pacra, pacrb: Pacrb, pacrc: Pacrc, pacrd: Pacrd, _reserved5: [u8; 16], opacra: Opacra, opacrb: Opacrb, opacrc: Opacrc, opacrd: Opacrd, opacre: Opacre, opacrf: Opacrf, opacrg: Opacrg, opacrh: Opacrh, opacri: Opacri, opacrj: Opacrj, opacrk: Opacrk, opacrl: Opacrl,
}
Expand description

Register block

Fields§

§mpra: Mpra§_reserved1: [u8; 28]§pacra: Pacra§pacrb: Pacrb§pacrc: Pacrc§pacrd: Pacrd§_reserved5: [u8; 16]§opacra: Opacra§opacrb: Opacrb§opacrc: Opacrc§opacrd: Opacrd§opacre: Opacre§opacrf: Opacrf§opacrg: Opacrg§opacrh: Opacrh§opacri: Opacri§opacrj: Opacrj§opacrk: Opacrk§opacrl: Opacrl

Implementations§

§

impl RegisterBlock

pub const fn mpra(&self) -> &Mpra

0x00 - Master Privilege Register A

pub const fn pacra(&self) -> &Pacra

0x20 - Peripheral Access Control Register

pub const fn pacrb(&self) -> &Pacrb

0x24 - Peripheral Access Control Register

pub const fn pacrc(&self) -> &Pacrc

0x28 - Peripheral Access Control Register

pub const fn pacrd(&self) -> &Pacrd

0x2c - Peripheral Access Control Register

pub const fn opacra(&self) -> &Opacra

0x40 - Off-Platform Peripheral Access Control Register

pub const fn opacrb(&self) -> &Opacrb

0x44 - Off-Platform Peripheral Access Control Register

pub const fn opacrc(&self) -> &Opacrc

0x48 - Off-Platform Peripheral Access Control Register

pub const fn opacrd(&self) -> &Opacrd

0x4c - Off-Platform Peripheral Access Control Register

pub const fn opacre(&self) -> &Opacre

0x50 - Off-Platform Peripheral Access Control Register

pub const fn opacrf(&self) -> &Opacrf

0x54 - Off-Platform Peripheral Access Control Register

pub const fn opacrg(&self) -> &Opacrg

0x58 - Off-Platform Peripheral Access Control Register

pub const fn opacrh(&self) -> &Opacrh

0x5c - Off-Platform Peripheral Access Control Register

pub const fn opacri(&self) -> &Opacri

0x60 - Off-Platform Peripheral Access Control Register

pub const fn opacrj(&self) -> &Opacrj

0x64 - Off-Platform Peripheral Access Control Register

pub const fn opacrk(&self) -> &Opacrk

0x68 - Off-Platform Peripheral Access Control Register

pub const fn opacrl(&self) -> &Opacrl

0x6c - Off-Platform Peripheral Access 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.