ARM830 –ARM9 地址译码(2006-7-1 更改了 ARM830 地址译码)
HD7279:
0x20000004 = 0x05 -> HD7279 的 DATA PIN 方向为输入(表示向地址
0x20000004 写入数据 0x05)
0x20000004 = 0x06 -> HD7279 的 DATA PIN 方向为输出
0x20000004 = 0x01 -> HD7279 的 CS 有效,选择 HD7279
0x20000004 = 0x02 -> HD7279 的 CS 无效,释放 HD7279
SD Card:
#define rCMD_PIPE_REG (*(volatile unsigned short*)0x20000006)
#define rSTA_REG (*(volatile unsigned short*)0x20000008)
#define rCON_REG (*(volatile unsigned short*)0x20000008)
#define rRCE_DAT_BUF (*(volatile unsigned short*)0x2000000a)
#define rTRA_DAT_BUF (*(volatile unsigned short*)0x2000000a)
#define rINT_STA_REG (*(volatile unsigned short*)0x2000000c)
#define rINT_ENA_REG (*(volatile unsigned short*)0x2000000c)
#define rGPIO_DAT_REG (*(volatile unsigned short*)0x2000000e)
#define rGPIO_CON_REG (*(volatile unsigned short*)0x2000000e)
#define rGPIO_INT_STA_REG (*(volatile unsigned short*)0x20000010)
#define rGPIO_INT_ENA_REG (*(volatile unsigned short*)0x20000010)
#define rIND_ADD_REG (*(volatile unsigned short*)0x20000012)
#define rIND_DAT_REG (*(volatile unsigned short*)0x20000014)
模拟输入输出:
74ls244:
0x20000016
74ls273:
0x20000000
UDA1341:
0x20000055 = 0x03 -> L3MODE 置 0
0x20000055 = 0x04 -> L3MODE 置 1
0x200000aa = 0x01 -> L3CLOCK 置 0
0x200000aa
= 0x02 -> L3CLOCK 置 1
实验箱二号孔 CS1 和 CS2 的地址为:
CS1:0X28000080—0X280000BF
CS2:0X280000C0—0X280000FF
E-LAB 片选:
第一排(上)
编号 1 2 …….. 13 14 15 16
名称 MCS0 MCS1 …….. ACS0 ACS1 ACS2 ACS3
别称 LCS0 LCS1 …….. CS0 CS1 CS2 CS3