ITA-1710 User Manual
58
6.1
ITA-1710 Digital DIO Definition
See Section 2.4.8.
6.2
Configuration Sequence
ITA-1710’s on-board GPIO with LPC bus operates by Lattice CPLD.
The configuration and access to CPLD GPIO IC is completed by IO Space accessing
to the system.
Mapping between GPIO IO Space and corresponding GPIO pins:
Port GPO : IO 0xC10~0xC12 (bit0-bit23) R/W
0xC10:bit0~bit7 GPO(1~8)
0xC11:bit0~bit7 GPO(9~16)
0xC12:bit0~bit7 GPO(17~24)
Port GPI : IO 0xC13~0xC15 (bit0-bit23) R
0xC13:bit0~bit7 GPI(1~8)
0xC14:bit0~bit7 GPI(9~16)
0xC15:bit0~bit7 GPI(17~24)
If a GPIO Pin is Input, users can read the corresponding input value from bit of IO
Space register.
If a GPIO Pin is Output, users can read the corresponding input value from bit of IO
Space register.
6.3
Function Call Reference
GPIO Analog Code (C language pseudocode)
GPO 4 High Output:
unsigned char data;
data = inportb(0xC10); //first read corresponding IO Space register value
data |= 0x08;
//00001000B, set bit 03 as ‘1’, meaning output High
outportb(0xC10, data); //output value
Read GPI 9 Input Value:
unsigned char data;
data = inportb(0xC14); //first read corresponding IO Space register value
if (data & 0x01); //00000001B, judge value of bit 0
High
// 1 = High
else
Low
// 0 = Low
Note!
ITA-1210 uses 48 bit CPLD for GPIO control, 24 GPI and 24 GPO
totally.
Содержание ITA-1710
Страница 1: ...User Manual ITA 1710 Fanless Embedded Atom Dual Core Compact Industrial Computer...
Страница 10: ...ITA 1710 User Manual x...
Страница 11: ...Chapter 1 1 Overview This chapter provider general Information about the ITA 1710...
Страница 15: ...Chapter 2 2 H W Installation This chapter provides H W Instal lation about the ITA 1710...
Страница 26: ...ITA 1710 User Manual 16...
Страница 27: ...Chapter 3 3 System Setup This chapter introduces the instal lation process of ITA 1710...
Страница 34: ...ITA 1710 User Manual 24...
Страница 35: ...Chapter 4 4 AMI BIOS This chapter introduces how to configure AMI BIOS...
Страница 62: ...ITA 1710 User Manual 52...
Страница 63: ...Chapter 5 5 Driver Installation This chapter describes how to Install drivers...
Страница 67: ...Chapter 6 6 GPIO Programming Guide This chapter introduces GPIO pro gramming Guide...
Страница 70: ...ITA 1710 User Manual 60...
Страница 71: ...Appendix A A Programming the Watchdog Timer...