PRELIMINARY
94
Watchdog Timer (WDT) Function Library
/* set timeout value as 10 seconds */
/* WDT start automatically while timeout value is set
*/
w_reg(0x73,0x0A);
printf("----------------------------------------------
-----\n");
printf("WDT is set and counting down
now.<<<<<<<<<<<<<<<<<<\n");
printf("----------------------------------------------
-----\n");
for(count=10;count!=0;count--)
{
printf("Countdown %2d : 0xF6=%2x Press any key to
invoke keyboard interrupt.\n",count,r_reg(0xF6));
/* reset WDT timeout value to 10 seconds */
/* w_reg(0x73,0x0A); */
sleep(1);
}
printf("At least one keyboard interrupt must occur
during countdown.\n");
printf("Otherwise WDT has already reset system.\n\n");
printf("Try again and leave keyboard.\n\n");
/* disable WDT */
/* WDT stop while timeout value is set to zero */
w_reg(0x73,0x00);
printf("WDT is disable. Program is terminating.");
ExitConfig();
return 0;
}
Содержание MXC-6401D
Страница 10: ...P R E L I M I N A R Y x Table of Contents This page intentionally left blank ...
Страница 12: ...P R E L I M I N A R Y xii List of Tables This page intentionally left blank ...
Страница 14: ...P R E L I M I N A R Y xiv List of Figures This page intentionally left blank ...
Страница 22: ...P R E L I M I N A R Y 8 Introduction Figure 1 4 MXC 6400 Front View 200 ...
Страница 23: ...P R E L I M I N A R Y Introduction 9 MXC 6400 Figure 1 5 MXC 6400 Underside View 189 83 4 16 23 6 114 4 14 ...
Страница 56: ...P R E L I M I N A R Y 42 Getting Started 2 Withdraw one or both of the SATA trays ...
Страница 58: ...P R E L I M I N A R Y 44 Getting Started ...
Страница 61: ...P R E L I M I N A R Y Getting Started 47 MXC 6400 2 Align the CFast card with the guide in the CFast socket ...
Страница 63: ...P R E L I M I N A R Y Getting Started 49 MXC 6400 ...
Страница 90: ...P R E L I M I N A R Y 76 BIOS Setup B 2 13 NCT6106D HW Monitor Fan Control Mode Selects fan control mode ...
Страница 102: ...P R E L I M I N A R Y 88 Activating RAID Function This page intentionally left blank ...
Страница 122: ...P R E L I M I N A R Y 108 Important Safety Instructions This page intentionally left blank ...