- 60 -
Appendices
}
void SioGPIOData(int iData)
{
outportb(sioIndex,0x87);
/* Enable Super I/O */
outportb(sioIndex,0x87);
outportb(sioIndex,0x07);
/* Select logic device – GPIO */
outportb(sioData, 0x06);
outportb(sioIndex,0xC1);
/* GPIO3 0~7 - Output Data */
outportb(sioData,iData);
outportb(sioIndex,0xAA);
/* Disable Super I/O */
}
int SioGPIOStatus()
{
int iStatus;
outportb(sioIndex,0x87);
/* Enable Super I/O */
outportb(sioIndex,0x87);
outportb(sioIndex,0x07);
/* Select logic device – GPIO */
outportb(sioData, 0x06);
outportb(sioIndex,0xC2);
/* GPIO3 0~7 - Status */
iStatus = inportb(sioData);
outportb(sioIndex,0xAA);
/* Disable Super I/O */
return iStatus;
}
Содержание EmCORE-i2305
Страница 1: ...1 EmCORE i2305 User s Manual Version 1 1 3 5 Compact Board 2017 05 ...
Страница 2: ... 2 This page is intentionally left blank ...
Страница 4: ... ii This page is intentionally left blank ...
Страница 11: ... 1 1 Chapter 1 Introduction Chapter 1 Introduction ...
Страница 15: ... 5 2 Chapter 2 Getting Started Chapter 2 Getting Started ...
Страница 20: ... 10 Getting Started Board Bottom 1 2 3 4 5 6 7 8 1 2 17 15 18 16 51 52 1 2 17 15 18 16 51 52 ...
Страница 51: ... 41 3 Chapter 3 BIOS Chapter 3 BIOS ...
Страница 66: ... 56 This page is intentionally left blank ...
Страница 67: ... 57 Appendices Appendices ...