Utilities
61
cPCI-3610
outportb(IT8783_ioPort, 0x02);
outportb(IT87831, 0x02);
}
//Check chip
void Get_IT8783_ID(unsigned int &ID1, unsigned int &ID2)
{
outportb(IT8783_ioPort, 0x20);
ID1 = inportb(IT87831);
outportb(IT8783_ioPort, 0x21);
ID2 = inportb(IT87831);
}
//WDT and LED program
void IT8783_3_WDTRun(unsigned int count_value, unsigned
int PLEDflag) //for cPCI-3610
{
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, 0x2D);
registerValue = inportb(IT8783_ 1);
registerValue |= 0x01; // set Pin109 is GPIO
function GP60
outportb(IT87831, registerValue);
outportb(IT8783_ioPort, 0xC5);
registerValue = inportb(IT8783_ 1);
registerValue &= 0xfe; // set GP60 is alternate
function
Содержание cPCI-3610 Series
Страница 2: ...Revision History Revision Release Date Description of Change s 2 00 2010 06 02 Initial Release ...
Страница 6: ...vi Preface This page intentionally left blank ...
Страница 10: ...x Table of Contents 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 ...
Страница 20: ...6 Introduction This page intentionally left blank ...
Страница 26: ...12 Specifications This page intentionally left blank ...
Страница 32: ...18 Functional Description This page intentionally left blank ...
Страница 60: ...46 Board Interfaces This page intentionally left blank ...
Страница 70: ...56 Getting Started This page intentionally left blank ...
Страница 72: ...58 Driver Installation This page intentionally left blank ...
Страница 104: ...90 BIOS Setup This page intentionally left blank ...