Struct efm32tg11b340_pac::trng0::RegisterBlock
source · [−]#[repr(C)]pub struct RegisterBlock {
pub control: Reg<CONTROL_SPEC>,
pub fifolevel: Reg<FIFOLEVEL_SPEC>,
pub fifodepth: Reg<FIFODEPTH_SPEC>,
pub key0: Reg<KEY0_SPEC>,
pub key1: Reg<KEY1_SPEC>,
pub key2: Reg<KEY2_SPEC>,
pub key3: Reg<KEY3_SPEC>,
pub testdata: Reg<TESTDATA_SPEC>,
pub status: Reg<STATUS_SPEC>,
pub initwaitval: Reg<INITWAITVAL_SPEC>,
pub fifo: Reg<FIFO_SPEC>,
/* private fields */
}
Expand description
Register block
Fields
control: Reg<CONTROL_SPEC>
0x00 - Main Control Register
fifolevel: Reg<FIFOLEVEL_SPEC>
0x04 - FIFO Level Register
fifodepth: Reg<FIFODEPTH_SPEC>
0x0c - FIFO Depth Register
key0: Reg<KEY0_SPEC>
0x10 - Key Register 0
key1: Reg<KEY1_SPEC>
0x14 - Key Register 1
key2: Reg<KEY2_SPEC>
0x18 - Key Register 2
key3: Reg<KEY3_SPEC>
0x1c - Key Register 3
testdata: Reg<TESTDATA_SPEC>
0x20 - Test Data Register
status: Reg<STATUS_SPEC>
0x30 - Status Register
initwaitval: Reg<INITWAITVAL_SPEC>
0x34 - Initial Wait Counter
fifo: Reg<FIFO_SPEC>
0x100 - FIFO Data
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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