}
Watchdog Timer
outportw(SIO_Index_Port,0x87);
outportw(SIO_Index_Port,SIO_Enter_Configuration_Mode);
outportw(SIO_Index_Port,SIO_Entry_key);
outportw(SIO_Index_Port,SIO_Entry_key);
//
// Select Logical device : GPIO
//
outportw(SIO_Index_Port,SIO_LDN_SEL_REGISTER);
outportw(SIO_Data_Port,SIO_LogicalDevice_GPIO);
//
// Select count type for minute type or second type to execute WDT timer
// by below method.
//
outportw(SIO_Index_Port,SIO_Offset_Countdown_Type);
if(CountdownType == 1)
outportw(SIO_Data_Port,SIO_Countdown_Type_Second);
else if(CountdownType == 2)
outportw(SIO_Data_Port,SIO_Countdown_Type_Minute);
//
// Set WDT Timer
//
outportw(SIO_Index_Port,SIO_Offset_Countdown_Timer);
outportw(SIO_Data_Port,WDTtimer);
//
// Exit Configuration Mode
//
outportw(SIO_Index_Port,SIO_Exit_Configuration_Mode);
outportw(SIO_Index_Port,SIO_Exit_Configuration_Mode);
MANO315 Mini ITX Motherboard
47
Need help?
Do you have a question about the MANO315 Series and is the answer not in the manual?