#[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

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.