摘要:
updating unsigned tmp; //gpe1 pull up,置位3:2=10b,其余不变
tmp = readl(S3C64XX_GPEPUD);
tmp &= ~(2<<2);
tmp |= 2<<2;
writel(tmp,S3C64XX_GPEPUD); //gpe1 output mode,置位7:6:5:4=0001b,其余不变
tmp =readl(S3C64XX_GPECON);
tmp &= ~(F<<4);
tmp |= 1<<4;
writel(tmp,S3C64XX_GPECON); //gp 阅读全文