Lanner LEC-2010 User Manual

Page 60

Advertising
background image

LEC-2010 Fanless Embedded System User’s Manual

60

int write_w83627_reg(int LDN, int reg, int value)

{
outportb(INDEX_PORT, 0x07); //LDN register

delay(1);

outportb(DATA_PORT, LDN);

delay(1);
outportb(INDEX_PORT, reg);

delay(1);

outportb(DATA_PORT, value);

return 0;
}


Note: The watchdog function is from the WINBODN 83627UHG.. Lanner provides sample codes in the

Manual/ Driver CD under the path: LEC-2010 Driver / LEC-2010 Utility/WatchDog

Advertising