![ADLINK Technology NuPRO-E340 Скачать руководство пользователя страница 86](http://html1.mh-extra.com/html/adlink-technology/nupro-e340/nupro-e340_user-manual_2852853086.webp)
72
Watchdog Timer
}
void Get_IT8783_ID(unsigned int &ID1, unsigned int &ID2)
{
outportb(IT8783_ioPort, 0x20);
ID1 = inportb(IT87831);
outportb(IT8783_ioPort, 0x21);
ID2 = inportb(IT87831);
}
void IT8783_WDTRun(unsigned int count_value, unsigned int
PLEDflag) //for NuPRO-E340
{
unsigned long tempCount;
unsigned int registerValue;
outportb(IT8783_ioPort, 0x07);
outportb(IT87831, 0x07);// Device 7
outportb(IT8783_ioPort, 0xf8);
outportb(IT87831, 0x00);// PLED mapping to
nothing, disable PLED function
if(PLEDflag == 1)
{
outportb(IT8783_ioPort, 0x27);
registerValue = inportb(IT8783_ 1);
registerValue |= 0x80; // set Pin09 is GPIO
function GP37
outportb(IT87831, registerValue);
outportb(IT8783_ioPort, 0xc2);
registerValue = inportb(IT8783_ 1);
registerValue &= 0x7fb; // set GP37 is alternate
function
outportb(IT87831, registerValue);
outportb(IT8783_ioPort, 0xca);
registerValue = inportb(IT8783_ 1);
registerValue |= 0x80; // set GP42 is output
outportb(IT87831, registerValue);
Содержание NuPRO-E340
Страница 6: ...vi Preface This page intentionally left blank...
Страница 10: ...x This page intentionally left blank...
Страница 12: ...xii List of Figures This page intentionally left blank...
Страница 14: ...xiv List of Tables This page intentionally left blank...
Страница 23: ...Introduction 9 NuPRO E340 1 6 Mechanical Drawing Figure 1 2 NuPRO E340 Board Dimensions Dimensions in mm...
Страница 44: ...30 Getting Started This page intentionally left blank...
Страница 78: ...64 BIOS Setup Integrated Clock Chip Configuration ICC Enable Integrated Clock Chip Options Enabled Disabled...