System Installation
ROBO-8120VG2R User’s Manual
3-13
if(bit != 0x02){
return;
}
outp
(0x2e,0x07);
outp (0x2f,0x09);// entry device 9
outp
(0x2e,0xf0);
outp
(0x2f,(inp(0x2f)&~tmp)|(tmp*mode));//0 for output,1 for intput
}
//bit 2~3=GPIO 22~23,data 0 for low, 1 for high
void GPIO_Write1(int bit,int data){
int
tmp=1<<bit;
if(bit != 0x02){
return;
}
else if(bit != 0x03){
return;
}
outp
(0x2e,0x07);
outp (0x2f,0x09);// entry device 9
outp
(0x2e,0xe4);
outp (0x2f,(inp(0x2f)&~tmp)|(tmp*data));//0 for low,1 for high
}
//bit 0~1=GPIO 30,31, bit 3~7=GPIO 3~37,data 0 for low, 1 for high
void GPIO_Write2(int bit,int data){
int
tmp=1<<bit;
if(bit != 0x02){
return;
}
outp
(0x2e,0x07);
outp (0x2f,0x09);// entry device 9
outp
(0x2e,0xf1);
outp (0x2f,(inp(0x2f)&~tmp)|(tmp*data));//0 for low,1 for high
}
//bit 2~3=GPIO 22~23,high return 1, low return 0, if not GPIO22~23, return 0
int GPIO_Read1(int bit){
int
tmp=1<<bit;
int
data;
if(bit != 0x02){
return
0;
Содержание ROBO-8120VG2R
Страница 13: ...System Overview ROBO 8120VG2R User s Manual 1 8 ROBO 8120VG2R System Block Diagram...
Страница 48: ...BIOS Setup Information ROBO 8120VG2R User s Manual 4 12 Floppy Disk Controller Configuration...
Страница 53: ...BIOS Setup Information ROBO 8120VG2R User s Manual 4 17 North Bridge Chipset Configuration...