Root/qiboot/include/ports-s3c24xx.h

1#ifndef __PORTS_S3C24XX_H__
2#define __PORTS_S3C24XX_H__
3
4
5// I/O PORT
6#define rGPACON (*(volatile unsigned *)0x56000000)
7#define rGPADAT (*(volatile unsigned *)0x56000004)
8
9#define rGPBCON (*(volatile unsigned *)0x56000010)
10#define rGPBDAT (*(volatile unsigned *)0x56000014)
11#define rGPBUP (*(volatile unsigned *)0x56000018)
12
13#define rGPCCON (*(volatile unsigned *)0x56000020)
14#define rGPCDAT (*(volatile unsigned *)0x56000024)
15#define rGPCUP (*(volatile unsigned *)0x56000028)
16
17#define rGPDCON (*(volatile unsigned *)0x56000030)
18#define rGPDDAT (*(volatile unsigned *)0x56000034)
19#define rGPDUP (*(volatile unsigned *)0x56000038)
20
21#define rGPECON (*(volatile unsigned *)0x56000040)
22#define rGPEDAT (*(volatile unsigned *)0x56000044)
23#define rGPEUP (*(volatile unsigned *)0x56000048)
24
25#define rGPFCON (*(volatile unsigned *)0x56000050)
26#define rGPFDAT (*(volatile unsigned *)0x56000054)
27#define rGPFUP (*(volatile unsigned *)0x56000058)
28
29#define rGPGCON (*(volatile unsigned *)0x56000060)
30#define rGPGDAT (*(volatile unsigned *)0x56000064)
31#define rGPGUP (*(volatile unsigned *)0x56000068)
32
33#define rGPHCON (*(volatile unsigned *)0x56000070)
34#define rGPHDAT (*(volatile unsigned *)0x56000074)
35#define rGPHUP (*(volatile unsigned *)0x56000078)
36
37#define rGPJCON (*(volatile unsigned *)0x560000d0) //Port J control
38#define rGPJDAT (*(volatile unsigned *)0x560000d4) //Port J data
39#define rGPJUP (*(volatile unsigned *)0x560000d8) //Port J data
40
41#endif
42

Archive Download this file



interactive