#[repr(C)]
pub struct RegisterBlock { pub trng_cr: Reg<TRNG_CR_SPEC>, pub trng_ier: Reg<TRNG_IER_SPEC>, pub trng_idr: Reg<TRNG_IDR_SPEC>, pub trng_imr: Reg<TRNG_IMR_SPEC>, pub trng_isr: Reg<TRNG_ISR_SPEC>, pub trng_odata: Reg<TRNG_ODATA_SPEC>, pub trng_version: Reg<TRNG_VERSION_SPEC>, /* private fields */ }
Expand description

Register block

Fields

trng_cr: Reg<TRNG_CR_SPEC>

0x00 - Control Register

trng_ier: Reg<TRNG_IER_SPEC>

0x10 - Interrupt Enable Register

trng_idr: Reg<TRNG_IDR_SPEC>

0x14 - Interrupt Disable Register

trng_imr: Reg<TRNG_IMR_SPEC>

0x18 - Interrupt Mask Register

trng_isr: Reg<TRNG_ISR_SPEC>

0x1c - Interrupt Status Register

trng_odata: Reg<TRNG_ODATA_SPEC>

0x50 - Output Data Register

trng_version: Reg<TRNG_VERSION_SPEC>

0xfc - Version Register

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.