Appendix
· 42 ·
EC3-1820V2NA
SMBUS_SETGPOLOW=0x07,
//set one gpo output low
SMBUS_GETGPILEVEL=0x08,//get one gpi input level
SMBUS_SETALLGPOLEVEL=0x0A,//set ALL gpo output LEVEL(0/1)
SMBUS_GETALLGPILEVEL=0x0B,//Get all gpi input LEVEL(0/1)
SMBUS_GPIOEND=0x5A
} SMBUS_GPIO_CMD;
The function parameter values are shown in the following table:
Address Command Parameter Check
slaveAddress command parameter
false
Parameter means GPO/GPI index values, 1-8.
Then it sends message to M054LDN, and calls SMBWriteByteEx function to control
GPO output electric level. Because M054LDN is a secondary device, GPI input
electric level needs to be actively read by the host. First execute the write function
数
SMBWriteByteEx, then execute read function SMBReadByteEx, to acquire GPI input
electric level information.
5.2 WDT Programming Guide
Watchdog is controlled by Super I/O NCT6106D. Users can realize control of
Watchdog by operating WATCHDOG TIMER register.
Operation of Watchdog bottom layer port function has already been realized. Users
can call provided API to meet their own requirements.
The following is the introduction to the port function. Please refer to the enclosed Cd
for the detailed program.
(1). WDT_Start(UINT8 time, UINT8 count_mode)
;
Function description: Start Watchdog