Nut/OS  4.10.3
API Reference
Bus Matrix

Bus matrix registers. More...

Collaboration diagram for Bus Matrix:

Defines

#define MATRIX_MASTER_I   0
#define MATRIX_MASTER_D   1
#define MATRIX_MASTER_PDC   2
#define MATRIX_MASTER_ISI   3
#define MATRIX_MASTER_EMAC   4
#define MATRIX_MASTER_USB   5
#define MATRIX_SLAVE_SRAM0   0
#define MATRIX_SLAVE_SRAM1   1
#define MATRIX_SLAVE_ROM_USB   2
#define MATRIX_SLAVE_EBI   3
#define MATRIX_SLAVE_PERIPHERALS   4

Master Configuration Registers

#define MATRIX_MCFG_OFF   0x00000000
 Master configuration register offset.
#define MATRIX_MCFG(i)   (MATRIX_BASE + MATRIX_MCFG_OFF + (i) * 4)
 Master configuration register addresses.

Slave Configuration Registers

#define MATRIX_SCFG_OFF   0x00000040
 Slave configuration register offset.
#define MATRIX_SCFG(i)   (MATRIX_BASE + MATRIX_SCFG_OFF + (i) * 4)
 Slave configuration register addresses.

Slave Priority Registers

#define MATRIX_PRAS_OFF   0x00000080
 Slave priority register A offset.
#define MATRIX_PRAS(i)   (MATRIX_BASE + MATRIX_PRAS_OFF + (i) * 8)
 Slave priority register A addresses.

Master Remap Control Register

#define MATRIX_MRCR_OFF   0x00000100
 Remap control register offset.
#define MATRIX_MRCR   (MATRIX_BASE + MATRIX_MRCR_OFF)
 Remap control register address.
#define MATRIX_MRCR_RCB0   0x00000001
 Enable remap for master 0.
#define MATRIX_MRCR_RCB1   0x00000002
 Enable remap for master 1.

Detailed Description

Bus matrix registers.


Define Documentation

#define MATRIX_MCFG_OFF   0x00000000

Master configuration register offset.

Definition at line 61 of file at91_matrix.h.

#define MATRIX_MCFG (   i)    (MATRIX_BASE + MATRIX_MCFG_OFF + (i) * 4)

Master configuration register addresses.

Definition at line 62 of file at91_matrix.h.

#define MATRIX_SCFG_OFF   0x00000040

Slave configuration register offset.

Definition at line 67 of file at91_matrix.h.

#define MATRIX_SCFG (   i)    (MATRIX_BASE + MATRIX_SCFG_OFF + (i) * 4)

Slave configuration register addresses.

Definition at line 68 of file at91_matrix.h.

#define MATRIX_PRAS_OFF   0x00000080

Slave priority register A offset.

Definition at line 73 of file at91_matrix.h.

#define MATRIX_PRAS (   i)    (MATRIX_BASE + MATRIX_PRAS_OFF + (i) * 8)

Slave priority register A addresses.

Definition at line 74 of file at91_matrix.h.

#define MATRIX_MRCR_OFF   0x00000100

Remap control register offset.

Definition at line 79 of file at91_matrix.h.

#define MATRIX_MRCR   (MATRIX_BASE + MATRIX_MRCR_OFF)

Remap control register address.

Definition at line 80 of file at91_matrix.h.

#define MATRIX_MRCR_RCB0   0x00000001

Enable remap for master 0.

Definition at line 81 of file at91_matrix.h.

#define MATRIX_MRCR_RCB1   0x00000002

Enable remap for master 1.

Definition at line 82 of file at91_matrix.h.

#define MATRIX_MASTER_I   0

Definition at line 85 of file at91_matrix.h.

#define MATRIX_MASTER_D   1

Definition at line 86 of file at91_matrix.h.

#define MATRIX_MASTER_PDC   2

Definition at line 87 of file at91_matrix.h.

#define MATRIX_MASTER_ISI   3

Definition at line 88 of file at91_matrix.h.

#define MATRIX_MASTER_EMAC   4

Definition at line 89 of file at91_matrix.h.

#define MATRIX_MASTER_USB   5

Definition at line 90 of file at91_matrix.h.

#define MATRIX_SLAVE_SRAM0   0

Definition at line 92 of file at91_matrix.h.

#define MATRIX_SLAVE_SRAM1   1

Definition at line 93 of file at91_matrix.h.

#define MATRIX_SLAVE_ROM_USB   2

Definition at line 94 of file at91_matrix.h.

#define MATRIX_SLAVE_EBI   3

Definition at line 95 of file at91_matrix.h.

#define MATRIX_SLAVE_PERIPHERALS   4

Definition at line 96 of file at91_matrix.h.