general purpose i/o
s3c6410
1 gpa-
2 b
3 c
4 d
5 e
6 f
7 g
8 h
9 i
10 j
11 k
12 l
13 m
14 n
15 o
16 p
17 gpq
GPxCON: configure
GPxDAT: data
GPxUD: up/down (是否使用上拉电阻)
GPxCONSLP
GPxPUDSLP
SLP=sleep
GPIO consists of two part, alive-part and off-part. In Alive-part power is supplied on sleep mode
,but in off-part it is not the same, therefore, the registers in alive-part can keep their values during sleep mode.