Struct atsamd21g::dsu::RegisterBlock
source · [−]#[repr(C)]pub struct RegisterBlock {Show 21 fields
pub ctrl: Reg<CTRL_SPEC>,
pub statusa: Reg<STATUSA_SPEC>,
pub statusb: Reg<STATUSB_SPEC>,
pub addr: Reg<ADDR_SPEC>,
pub length: Reg<LENGTH_SPEC>,
pub data: Reg<DATA_SPEC>,
pub dcc: [Reg<DCC_SPEC>; 2],
pub did: Reg<DID_SPEC>,
pub entry: Reg<ENTRY_SPEC>,
pub entry1: Reg<ENTRY1_SPEC>,
pub end: Reg<END_SPEC>,
pub memtype: Reg<MEMTYPE_SPEC>,
pub pid4: Reg<PID4_SPEC>,
pub pid0: Reg<PID0_SPEC>,
pub pid1: Reg<PID1_SPEC>,
pub pid2: Reg<PID2_SPEC>,
pub pid3: Reg<PID3_SPEC>,
pub cid0: Reg<CID0_SPEC>,
pub cid1: Reg<CID1_SPEC>,
pub cid2: Reg<CID2_SPEC>,
pub cid3: Reg<CID3_SPEC>,
/* private fields */
}Expand description
Register block
Fields
ctrl: Reg<CTRL_SPEC>0x00 - Control
statusa: Reg<STATUSA_SPEC>0x01 - Status A
statusb: Reg<STATUSB_SPEC>0x02 - Status B
addr: Reg<ADDR_SPEC>0x04 - Address
length: Reg<LENGTH_SPEC>0x08 - Length
data: Reg<DATA_SPEC>0x0c - Data
dcc: [Reg<DCC_SPEC>; 2]0x10..0x18 - Debug Communication Channel n
did: Reg<DID_SPEC>0x18 - Device Identification
entry: Reg<ENTRY_SPEC>0x1000 - CoreSight ROM Table Entry 0
entry1: Reg<ENTRY1_SPEC>0x1004 - CoreSight ROM Table Entry 1
end: Reg<END_SPEC>0x1008 - CoreSight ROM Table End
memtype: Reg<MEMTYPE_SPEC>0x1fcc - CoreSight ROM Table Memory Type
pid4: Reg<PID4_SPEC>0x1fd0 - Peripheral Identification 4
pid0: Reg<PID0_SPEC>0x1fe0 - Peripheral Identification 0
pid1: Reg<PID1_SPEC>0x1fe4 - Peripheral Identification 1
pid2: Reg<PID2_SPEC>0x1fe8 - Peripheral Identification 2
pid3: Reg<PID3_SPEC>0x1fec - Peripheral Identification 3
cid0: Reg<CID0_SPEC>0x1ff0 - Component Identification 0
cid1: Reg<CID1_SPEC>0x1ff4 - Component Identification 1
cid2: Reg<CID2_SPEC>0x1ff8 - Component Identification 2
cid3: Reg<CID3_SPEC>0x1ffc - Component Identification 3
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