ITA-7220 User Manual
40
B.1
Watchdog Timer sample code
#include <cstdlib>
#include <cstdio>
#include <sys/io.h>
#include <unistd.h>
using namespace std;
const unsigned int baseAddress = 0xA00;
void setWDT(unsigned char);
int main(int argc, char** argv)
{
unsigned char inputData;
printf("Please enter a number(1 ~ 255):");
scanf("%d", &inputData);
setWDT(inputData);
return 0;
}
Содержание ITA-7220 Series
Страница 1: ...User Manual ITA 7220 Series Passenger Information System Computer for Railway Applications...
Страница 16: ...ITA 7220 User Manual 6...
Страница 21: ...Chapter 3 3 BIOS Settings...
Страница 46: ...ITA 7220 User Manual 36...
Страница 47: ...Appendix A A Exploded Setting Diagram...
Страница 49: ...Appendix B B Watchdog Timer Sample Code...
Страница 51: ...41 ITA 7220 User Manual Appendix B Watchdog Timer Sample Code...