[][src]Struct lpc55_pac::powerquad::RegisterBlock

#[repr(C)]pub struct RegisterBlock {
    pub outbase: OUTBASE,
    pub outformat: OUTFORMAT,
    pub tmpbase: TMPBASE,
    pub tmpformat: TMPFORMAT,
    pub inabase: INABASE,
    pub inaformat: INAFORMAT,
    pub inbbase: INBBASE,
    pub inbformat: INBFORMAT,
    pub control: CONTROL,
    pub length: LENGTH,
    pub cppre: CPPRE,
    pub misc: MISC,
    pub cursory: CURSORY,
    pub cordic_x: CORDIC_X,
    pub cordic_y: CORDIC_Y,
    pub cordic_z: CORDIC_Z,
    pub errstat: ERRSTAT,
    pub intren: INTREN,
    pub eventen: EVENTEN,
    pub intrstat: INTRSTAT,
    pub gpreg: [GPREG; 16],
    pub compreg: [COMPREG; 8],
    // some fields omitted
}
[]

Register block

Fields

outbase: OUTBASE
[]

0x00 - Base address register for output region

outformat: OUTFORMAT
[]

0x04 - Output format

tmpbase: TMPBASE
[]

0x08 - Base address register for temp region

tmpformat: TMPFORMAT
[]

0x0c - Temp format

inabase: INABASE
[]

0x10 - Base address register for input A region

inaformat: INAFORMAT
[]

0x14 - Input A format

inbbase: INBBASE
[]

0x18 - Base address register for input B region

inbformat: INBFORMAT
[]

0x1c - Input B format

control: CONTROL
[]

0x100 - PowerQuad Control register

length: LENGTH
[]

0x104 - Length register

cppre: CPPRE
[]

0x108 - Pre-scale register

misc: MISC
[]

0x10c - Misc register

cursory: CURSORY
[]

0x110 - Cursory register

cordic_x: CORDIC_X
[]

0x180 - Cordic input X register

cordic_y: CORDIC_Y
[]

0x184 - Cordic input Y register

cordic_z: CORDIC_Z
[]

0x188 - Cordic input Z register

errstat: ERRSTAT
[]

0x18c - Read/Write register where error statuses are captured (sticky)

intren: INTREN
[]

0x190 - INTERRUPT enable register

eventen: EVENTEN
[]

0x194 - Event Enable register

intrstat: INTRSTAT
[]

0x198 - INTERRUPT STATUS register

gpreg: [GPREG; 16]
[]

0x200 - General purpose register bank N.

compreg: [COMPREG; 8]
[]

0x240 - Compute register bank

Auto Trait Implementations

impl Send for RegisterBlock

impl !Sync for RegisterBlock

impl Unpin for RegisterBlock

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src][+]

impl<T> Borrow<T> for T where
    T: ?Sized
[src][+]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src][+]

impl<T> From<T> for T[src][+]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src][+]

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src][+]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src][+]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.