
Watchdog Timer (WDT) Function Library
99
MXC-6300
outp(0x2E, regoffset);
outp(0x2F, data);
}
main(void)
{
unsigned int count;
/* print program title */
printf("-----------------MXC-6300 WDT Demo------------
-----\n");
printf("Init and config GPIO
ports<<<<<<<<<<<<<<<<<<<<<<<<<\n");
printf("----------------------------------------------
-----\n");
EnterConfig();
/* config WDT registers */
w_reg(0x07,0x08);
w_reg(0x30,0x01);
w_reg(0xF5,0x00);
w_reg(0xF7,0x00);
/* enable keyboard interrupt to reset WDT timeout
value */
w_reg(0xF7,r_reg(0xF7)|0x40);
/* set unit as second */
w_reg(0xF5,r_reg(0xF5)&0xF7);
/* enable reset when timeout */
w_reg(0xF5,r_reg(0xF5)|0x02);
PRELIMINARY
Содержание MXC-6300
Страница 10: ...x List of Tables This page intentionally left blank PRELIM INARY...
Страница 12: ...xii List of Figures This page intentionally left blank PRELIM INARY...
Страница 20: ...8 Introduction Figure 1 3 MXC 6300 Top View Figure 1 4 MXC 6300 Front View 174 2 PRELIM INARY...
Страница 46: ...34 Introduction This page intentionally left blank PRELIM INARY...
Страница 49: ...Getting Started 37 MXC 6300 2 Withdraw the thumbscrew and remove the top cover by lifting PRELIM INARY...
Страница 57: ...Getting Started 45 MXC 6300 5 Remove the external CF socket cover PRELIM INARY...
Страница 58: ...46 Getting Started 6 Align the externally mounted CF card with the guide of the external CF socket PRELIM INARY...
Страница 67: ...Getting Started 55 MXC 6300 PRELIM INARY...
Страница 68: ...56 Getting Started This page intentionally left blank PRELIM INARY...
Страница 94: ...82 BIOS Setup PRELIM INARY...
Страница 97: ...Activating RAID Function 85 MXC 6300 PRELIM INARY...
Страница 100: ...88 Activating RAID Function 4 After the RAID Volume is created it should appear in the RAID volume list PRELIM INARY...
Страница 106: ...94 Activating RAID Function PRELIM INARY...
Страница 124: ...112 Digital Input Output Function Library This page intentionally left blank PRELIM INARY...