Hardware Setup

By Pass Function:

 

 

LAN Bypass

Normal

GPIO38

"High"

"Low"

GPIO39

"High"

"Low"

LAN Bypass function is controlled by GPIO 38 and 39.

For LAN Bypass Group 1 (LAN1 & LAN2), it is defined by GPIO38, set “High” to enable and set “Low” to disable.

For LAN Bypass Group 2 (LAN3 & LAN4), it is defined by GPIO39, set “High¨ to enable and set “Low” to disable.

Set “High” sample code (Assembly):

 

mov

dx,GPIO_Port + 38h

;GPIO_Port is 480h

in

al,dx

 

newiodelay

 

or

al,11000000b

;GPIO 38, 39 pull high to enable

out

dx,al

 

Set “High” sample code (C Language):

//Set High

 

unsigned char

dataIn;

unsigned char

dataOut;

dataIn = inportb(0x480+0x38); dataIn = 0xc0; outportb(dataIn, 0x480+0x38);

LAN5, LAN6 have no by pass function.

2-17

 

Page 29
Image 29
MSI Keeper 945GM manual By Pass Function, Set High sample code Assembly, Set High sample code C Language