#[repr(C)]
pub struct RegisterBlock {
Show 13 fields pub matrix_mcfg: [MATRIX_MCFG; 7], pub matrix_scfg: [MATRIX_SCFG; 6], 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 matrix_pras5: MATRIX_PRAS5, pub matrix_mrcr: MATRIX_MRCR, 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; 7]

0x00..0x1c - Master Configuration Register

§matrix_scfg: [MATRIX_SCFG; 6]

0x40..0x58 - 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

§matrix_pras5: MATRIX_PRAS5

0xa8 - Priority Register A for Slave 5

§matrix_mrcr: MATRIX_MRCR

0x100 - Master Remap Control Register

§ccfg_sysio: CCFG_SYSIO

0x114 - System I/O Configuration Register

§ccfg_smcnfcs: CCFG_SMCNFCS

0x124 - SMC NAND Flash Chip Select Configuration Register

§matrix_wpmr: MATRIX_WPMR

0x1e4 - Write Protect Mode Register

§matrix_wpsr: MATRIX_WPSR

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