RegisterBlock

Struct RegisterBlock 

Source
#[repr(C)]
pub struct RegisterBlock {
Show 21 fields pub cr0: CR0, pub cr1: CR1, pub intclr: INTCLR, pub poen0: POEN0, pub poen1: POEN1, pub ram0: RAM0, pub ram1: RAM1, pub ram2: RAM2, pub ram3: RAM3, pub ram4: RAM4, pub ram5: RAM5, pub ram6: RAM6, pub ram7: RAM7, pub ram8: RAM8, pub ram9: RAM9, pub ram10: RAM10, pub ram11: RAM11, pub ram12: RAM12, pub ram13: RAM13, pub ram14: RAM14, pub ram15: RAM15,
}
Expand description

Register block

Fields§

§cr0: CR0

0x00 - Control register

§cr1: CR1

0x04 - CR1

§intclr: INTCLR

0x08 - INTCLR

§poen0: POEN0

0x0c - POEN0

§poen1: POEN1

0x10 - POEN1

§ram0: RAM0

0x14 - des RAM0

§ram1: RAM1

0x18 - des RAM1

§ram2: RAM2

0x1c - des RAM2

§ram3: RAM3

0x20 - des RAM3

§ram4: RAM4

0x24 - des RAM4

§ram5: RAM5

0x28 - des RAM5

§ram6: RAM6

0x2c - des RAM6

§ram7: RAM7

0x30 - des RAM7

§ram8: RAM8

0x34 - des RAM8

§ram9: RAM9

0x38 - des RAM9

§ram10: RAM10

0x3c - des RAM10

§ram11: RAM11

0x40 - des RAM11

§ram12: RAM12

0x44 - des RAM12

§ram13: RAM13

0x48 - des RAM13

§ram14: RAM14

0x4c - des RAM14

§ram15: RAM15

0x50 - des RAM15

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.