#[repr(C)]pub struct RegisterBlock {Show 22 fields
pub outbase: Reg<OUTBASE_SPEC>,
pub outformat: Reg<OUTFORMAT_SPEC>,
pub tmpbase: Reg<TMPBASE_SPEC>,
pub tmpformat: Reg<TMPFORMAT_SPEC>,
pub inabase: Reg<INABASE_SPEC>,
pub inaformat: Reg<INAFORMAT_SPEC>,
pub inbbase: Reg<INBBASE_SPEC>,
pub inbformat: Reg<INBFORMAT_SPEC>,
pub control: Reg<CONTROL_SPEC>,
pub length: Reg<LENGTH_SPEC>,
pub cppre: Reg<CPPRE_SPEC>,
pub misc: Reg<MISC_SPEC>,
pub cursory: Reg<CURSORY_SPEC>,
pub cordic_x: Reg<CORDIC_X_SPEC>,
pub cordic_y: Reg<CORDIC_Y_SPEC>,
pub cordic_z: Reg<CORDIC_Z_SPEC>,
pub errstat: Reg<ERRSTAT_SPEC>,
pub intren: Reg<INTREN_SPEC>,
pub eventen: Reg<EVENTEN_SPEC>,
pub intrstat: Reg<INTRSTAT_SPEC>,
pub gpreg: [Reg<GPREG_SPEC>; 16],
pub compreg: [Reg<COMPREG_SPEC>; 8],
/* private fields */
}Expand description
Register block
Fields§
§outbase: Reg<OUTBASE_SPEC>0x00 - Base address register for output region
outformat: Reg<OUTFORMAT_SPEC>0x04 - Output format
tmpbase: Reg<TMPBASE_SPEC>0x08 - Base address register for temp region
tmpformat: Reg<TMPFORMAT_SPEC>0x0c - Temp format
inabase: Reg<INABASE_SPEC>0x10 - Base address register for input A region
inaformat: Reg<INAFORMAT_SPEC>0x14 - Input A format
inbbase: Reg<INBBASE_SPEC>0x18 - Base address register for input B region
inbformat: Reg<INBFORMAT_SPEC>0x1c - Input B format
control: Reg<CONTROL_SPEC>0x100 - PowerQuad Control register
length: Reg<LENGTH_SPEC>0x104 - Length register
cppre: Reg<CPPRE_SPEC>0x108 - Pre-scale register
misc: Reg<MISC_SPEC>0x10c - Misc register
cursory: Reg<CURSORY_SPEC>0x110 - Cursory register
cordic_x: Reg<CORDIC_X_SPEC>0x180 - Cordic input X register
cordic_y: Reg<CORDIC_Y_SPEC>0x184 - Cordic input Y register
cordic_z: Reg<CORDIC_Z_SPEC>0x188 - Cordic input Z register
errstat: Reg<ERRSTAT_SPEC>0x18c - Read/Write register where error statuses are captured (sticky)
intren: Reg<INTREN_SPEC>0x190 - INTERRUPT enable register
eventen: Reg<EVENTEN_SPEC>0x194 - Event Enable register
intrstat: Reg<INTRSTAT_SPEC>0x198 - INTERRUPT STATUS register
gpreg: [Reg<GPREG_SPEC>; 16]0x200..0x240 - General purpose register bank N.
compreg: [Reg<COMPREG_SPEC>; 8]0x240..0x260 - Compute register bank
Auto Trait Implementations§
impl !Freeze for RegisterBlock
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more