S5PV210 点亮Led
GPC1CON, R/W, Address = 0xE020_0080
GPC1DAT, R/W, Address = 0xE020_0084
举例
#define GPC1CON *((volatile unsigned int*)0xE0200080)
#define GPC1DAT *((volatile unsigned int*)0xE0200084)
*(unsigned int*)GPC1CON &= ~(0xf << 12);
*(unsigned int*)GPC1CON |= (0x1 << 12);
*(unsigned int*)GPC1DAT &= ~(0x1 << 3);
*(unsigned int*)GPC1DAT |= (0x1 << 3);