- 67 -
Appendix
{
int temp;
printf(" ITE 8718F Digital I/O tester Ver:0.1 \n");
printf(" Warning: This tools is test only. \n");
/* Start initial Digital I/O Port */
/* Group2 & Group should seprate init. */
outportb(0x2e, 0x87); /* Start initial config port */
outportb(0x2e, 0x01); /* */
outportb(0x2e, 0x); /*
*/
outportb(0x2e, 0x55); /* End of initial Config Port*/
delay(100);
outportb(0x2e, 0x26); /* point to GPIO Set2 */
outportb(0x2e+1, 0x0f); /* Select GPIO Set 2, GP2~GP20 */
outportb(0x2e, 0x07); /* point to logical device */
outportb(0x2e+1, 0x07); /* Select logical device 7 */
outportb(0x2e, 0x62); /* point to SIMPLE I/O base hi-addr */
outportb(0x2e+1, 0x02); /* Set base address from 298h */
outportb(0x2e, 0x6); /* point to SIMPLE I/O base lo-addr */
outportb(0x2e+1, 0x98); /* */
outportb(0x2e, 0xC1); /* Set GP2 Port Mode, 1=Simple I/O */
outportb(0x2e+1, 0x0F); /* */
outportb(0x2e, 0xC2); /* Set GP2 Port Mode, 1=Simple I/O */
outportb(0x2e+1, 0x0F); /* */
outportb(0x2e, 0xC9); /* Set GP2 I/O Mode, 0=input, 1=output */
outportb(0x2e+1, 0x0F); /* Set GP2-GP20 pin as output */
outportb(0x2e, 0x02);
outportb(0x2e+1, 0x02);
/* init config port finish */
outportb(0x2e, 0x87); /* Start initial config port */
outportb(0x2e, 0x01); /* */
outportb(0x2e, 0x); /*
*/
outportb(0x2e, 0x55); /* End of initial Config Port*/
delay(100);
outportb(0x2e, 0x27); /* point to GPIO Set */
outportb(0x2e+1, 0x0f); /* Select GPIO Set , GP~GP0 */
outportb(0x2e, 0x07); /* point to logical device */
outportb(0x2e+1, 0x07); /* Select logical device 7 */
Содержание 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 ...