
CT-MHW0X Intel 4th Gen Core Processor i7/i5/i3/Pentium/Celeron Micro-ATX IMB
37
4.13.1.2 Registers Description
4.13.1.2.1 GPIO Output Data Select
GPIO Output Data Register
(Index port=0xA00, Data port=0xA01, Offset=0x89)
Note.
Bit X = 0 outputs 0 when in output mode
Bit X = 1 outputs 1 when in output mode
4.13.1.3 PSUEDO CODE
Example1 Set GPO1 to output LOW
Step1: WriteIOByte8(0xA00,0x89) //Write configuration offset into index port
Step2: ByteData = ReadIOByte8(0xA01) //Read data from data port
Step3: ByteData = ByteData & 0xDF //Set Bit5 to 0 (output LOW)
Step4: WriteIOByte8(0xA01, ByteData) //Write back this change
4.14 Watchdog Timer
4.14.1 Board Design
The WDT (Watchdog Timer) is implemented by using Fintek F81866A.
4.14.2 PSUEDO CODE
Set WDT Time Unit (Second Unit)
Step1: ByteData = ReadIOByte(0xA15) //Read current setting
Step2: ByteData = ByteData & 0xF7 //Set time unit to “second”
Step3: WriteIOByte(0xA15, ByteData) //Write back
Set WDT Time Value
Step1: WriteIOByte(0xA16, Time) //Set watch dog time value
Komentáře k této Příručce