- 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;
}
Summary of Contents for EmCORE-i2305
Page 1: ...1 EmCORE i2305 User s Manual Version 1 1 3 5 Compact Board 2017 05 ...
Page 2: ... 2 This page is intentionally left blank ...
Page 4: ... ii This page is intentionally left blank ...
Page 11: ... 1 1 Chapter 1 Introduction Chapter 1 Introduction ...
Page 15: ... 5 2 Chapter 2 Getting Started Chapter 2 Getting Started ...
Page 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 ...
Page 51: ... 41 3 Chapter 3 BIOS Chapter 3 BIOS ...
Page 66: ... 56 This page is intentionally left blank ...
Page 67: ... 57 Appendices Appendices ...