- 69 -
Appendix
printf(" Read Digital I/O status\n");
printf(" I/O Group2: %x \n", inportb(0x299)&0x0f );
printf(" I/O Group: %x \n", inportb(0x29A)&0x0f );
delay(00);
temp=inportb(0x299);
temp=(temp)&(0xfe);
/* set bit0=0 */
printf(" Only set GPIO20=0 \n");
outportb(0x299,temp);
temp=inportb(0x29A);
temp=(temp)&(0x00);
/* set all bit=0 */
temp=(temp)|(0x02);
/* set bit1=1 */
printf(" Clear all, Only set GPIO1=1 \n");
outportb(0x29A,temp);
}
Содержание EmCORE-i2702
Страница 1: ...EmCORE i2702 3 5 Miniboard User s Manual Version 1 0 2010 10 ...
Страница 2: ...This page is intentionally left blank ...
Страница 5: ... Introduction 1 Chapter 1 Introduction ...
Страница 11: ... Introduction 1 10 Board Dimensions ...
Страница 13: ... Installation 2 Chapter 2 Installation Chapter 2 Installation ...
Страница 15: ... 11 Installation 2 2 Jumpers and Connectors ...
Страница 40: ... 36 BIOS 3 Chapter 3 BIOS ...
Страница 50: ... 46 BIOS OnChip IDE Device 3 6 Integrated Peripherals ...
Страница 57: ... 53 BIOS 3 9 PC Health Status System Temperature 5V CPU Temperature CPU FAN Speed 3 3V ...
Страница 66: ... 62 Appendix 4 Chapter 4 Appendix Chapter 4 Appendix ...