Watchdog Timer
67
MI-220
Appendix A - Watchdog Timer
Watchdog Timer sample code for the MI-220 is as follows.
WDT Sample Code
void SIOConfigEnter ()
{
IoWrite8 (NCT6776F_CONFIG_INDEX ,
NCT6776F_CONFIG_MODE_ENTER_VALUE);
IoWrite8 (NCT6776F_CONFIG_INDEX ,
NCT6776F_CONFIG_MODE_ENTER_VALUE);
}
void SIOConfigExit ()
{
IoWrite8 (NCT6776F_CONFIG_INDEX ,
NCT6776F_CONFIG_MODE_EXIT_VALUE);
}
void Oem_WDT_Init (
IN SETUP_DATA *SetupData
)
{
UINT8 Data8;
SIOConfigEnter();
IoWrite8 (NCT6776F_CONFIG_INDEX , 0x2C); //
Pin113 function selection to TSIC
Data8 = IoRead8(NCT6776F_CONFIG_DATA) | 0x01;
IoWrite8 (NCT6776F_CONFIG_DATA , Data8);
IoWrite8 (NCT6776F_CONFIG_INDEX ,
NCT6776F_LDN_SEL_REGISTER);
IoWrite8 (NCT6776F_CONFIG_DATA , NCT6776F_LDN_GPIO2);
IoWrite8 (NCT6776F_CONFIG_INDEX ,
NCT6776F_ACTIVATE_REGISTER);
Data8 = IoRead8(NCT6776F_CONFIG_DATA) | 0x04;
IoWrite8 (NCT6776F_CONFIG_DATA , Data8);
IoWrite8 (NCT6776F_CONFIG_INDEX ,
NCT6776F_LDN_SEL_REGISTER);
Содержание MI-220
Страница 6: ...vi Preface This page intentionally left blank ...
Страница 10: ...x List of Figures This page intentionally left blank ...
Страница 12: ...xii List of Tables This page intentionally left blank ...
Страница 23: ...Introduction 11 MI 220 1 9 Mechanical Dimensions Figure 1 4 MI 220 Board Dimensions Dimensions in mm ...
Страница 24: ...12 Introduction This page intentionally left blank ...
Страница 36: ...24 Connectors Jumpers This page intentionally left blank ...
Страница 40: ...28 Getting Started This page intentionally left blank ...
Страница 62: ...50 BIOS Setup 4 3 9 Serial Port Console Redirection COM0 4 Console Redirection Options Enabled Disabled ...