Struct atsamd51g::qspi::RegisterBlock
source · [−]#[repr(C)]pub struct RegisterBlock {Show 14 fields
pub ctrla: Reg<CTRLA_SPEC>,
pub ctrlb: Reg<CTRLB_SPEC>,
pub baud: Reg<BAUD_SPEC>,
pub rxdata: Reg<RXDATA_SPEC>,
pub txdata: Reg<TXDATA_SPEC>,
pub intenclr: Reg<INTENCLR_SPEC>,
pub intenset: Reg<INTENSET_SPEC>,
pub intflag: Reg<INTFLAG_SPEC>,
pub status: Reg<STATUS_SPEC>,
pub instraddr: Reg<INSTRADDR_SPEC>,
pub instrctrl: Reg<INSTRCTRL_SPEC>,
pub instrframe: Reg<INSTRFRAME_SPEC>,
pub scrambctrl: Reg<SCRAMBCTRL_SPEC>,
pub scrambkey: Reg<SCRAMBKEY_SPEC>,
/* private fields */
}Expand description
Register block
Fields
ctrla: Reg<CTRLA_SPEC>0x00 - Control A
ctrlb: Reg<CTRLB_SPEC>0x04 - Control B
baud: Reg<BAUD_SPEC>0x08 - Baud Rate
rxdata: Reg<RXDATA_SPEC>0x0c - Receive Data
txdata: Reg<TXDATA_SPEC>0x10 - Transmit Data
intenclr: Reg<INTENCLR_SPEC>0x14 - Interrupt Enable Clear
intenset: Reg<INTENSET_SPEC>0x18 - Interrupt Enable Set
intflag: Reg<INTFLAG_SPEC>0x1c - Interrupt Flag Status and Clear
status: Reg<STATUS_SPEC>0x20 - Status Register
instraddr: Reg<INSTRADDR_SPEC>0x30 - Instruction Address
instrctrl: Reg<INSTRCTRL_SPEC>0x34 - Instruction Code
instrframe: Reg<INSTRFRAME_SPEC>0x38 - Instruction Frame
scrambctrl: Reg<SCRAMBCTRL_SPEC>0x40 - Scrambling Mode
scrambkey: Reg<SCRAMBKEY_SPEC>0x44 - Scrambling Key
Auto Trait Implementations
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more