#[repr(C)]
pub struct RegisterBlock { pub matrix_mcfg: [MATRIX_MCFG; 4], pub matrix_scfg: [MATRIX_SCFG; 5], pub matrix_pras0: MATRIX_PRAS0, pub matrix_pras1: MATRIX_PRAS1, pub matrix_pras2: MATRIX_PRAS2, pub matrix_pras3: MATRIX_PRAS3, pub matrix_pras4: MATRIX_PRAS4, pub ccfg_sysio: CCFG_SYSIO, pub ccfg_smcnfcs: CCFG_SMCNFCS, pub matrix_wpmr: MATRIX_WPMR, pub matrix_wpsr: MATRIX_WPSR, /* private fields */ }
Expand description

Register block

Fields§

§matrix_mcfg: [MATRIX_MCFG; 4]

0x00..0x10 - Master Configuration Register

§matrix_scfg: [MATRIX_SCFG; 5]

0x40..0x54 - Slave Configuration Register

§matrix_pras0: MATRIX_PRAS0

0x80 - Priority Register A for Slave 0

§matrix_pras1: MATRIX_PRAS1

0x88 - Priority Register A for Slave 1

§matrix_pras2: MATRIX_PRAS2

0x90 - Priority Register A for Slave 2

§matrix_pras3: MATRIX_PRAS3

0x98 - Priority Register A for Slave 3

§matrix_pras4: MATRIX_PRAS4

0xa0 - Priority Register A for Slave 4

§ccfg_sysio: CCFG_SYSIO

0x114 - System I/O Configuration register

§ccfg_smcnfcs: CCFG_SMCNFCS

0x11c - SMC Chip Select NAND Flash Assignment Register

§matrix_wpmr: MATRIX_WPMR

0x1e4 - Write Protection Mode Register

§matrix_wpsr: MATRIX_WPSR

0x1e8 - Write Protection Status 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.