BPC-7934 Mini-ITX Motherboard Based on Intel Cedar Trail Platform46AppendixAppendix 1:Watchdog Programming GuideWatchdog reference code(ASM)--------------------------------------------------------------------------------------------------------------We can operate ports to operate watchdogs. Different functions of Watchdog Timer can berealized by manipulating ports by writing data to the corresponding ports.void main(){intindexp = 0x2e,datap = 0x2f;unsigned char temp;outportb(indexp,0x87);outportb(indexp,0x01); //unlockoutportb(indexp,0x55);outportb(indexp,0x55);outportb(indexp,0x07);outportb(datap,0x07);outportb(indexp,0x71);outportb(datap,0x80); //enable logical deviceoutportb(indexp,0x72);outportb(datap,0xc0); //set second/*outportb(datap,0x40); set minute*/outportb(indexp,0x73);outportb(datap,0x03); //set 3 secondsoutportb(indexp,0x74);outportb(datap,0x00);outportb(indexp,0x02);temp = (unsigned char)inportb(datap);