- 76 -
Appendix
//pg DIO as output
//0:input 1:Output
/*
Index c0, GPIO3x Output pin control
*/
outportb(0x2e, 0xc0); /* select offset c0h */
outportb(0x2e+1, 0xff);
delay(10);
//pg DIO default LOW
/*
Index c1, GPIO3x Output Data value
*/
outportb(0x2e, 0xc1); /* select offset c1h */
outportb(0x2e+1, 0x00);
GP3xVal = 0;
delay(10);
gotoxy(1,9);
//printf(“DIO Status: Low \n”);
do{
if (getkey != 27){
while
(!kbhit());
getkey
=
getch();
switch
(getkey){
case
‘A’:
case
‘a’:
if
(GP3xVal
==
0)
{
GP3xVal
=
1;
//DIO
all high
//pg
DIO
high
outportb(0x2e,
0xc1); /* select offset c1h */
outportb(0x2e+1,
0xff);
gotoxy(1,8);
printf(“GP3x
Status:
High\n”);
}
else
{
Summary of Contents for SPI-Q6700-LLVA
Page 1: ...SPI Q6700 LLVA PICMG 1 3 Full size SBC User s Manual Version 1 0 2012 08...
Page 2: ...This page is intentionally left blank...
Page 5: ...1 Introduction 1 Chapter 1 Introduction Chapter 1 Introduction...
Page 15: ...11 Installation 2 Chapter 2 Installation Chapter 2 Installation...
Page 32: ...This page is intentionally left blank...
Page 33: ...29 BIOS 3 Chapter 3 BIOS Chapter 3 BIOS...
Page 57: ...53 BIOS Boot Option 1 This item allows you to set the system boot priorities...
Page 58: ...54 BIOS 3 5 Security You can set administrator password by Security menu...
Page 72: ...This page is intentionally left blank...
Page 73: ...69 Appendix Appendix Appendix...