PEB-7602 User’s Manual
55 / 55
Appendix B: GPI/O Programming
The General Purpose I/O pins are provided for custom system design. The pin
programming as input mode or output mode is depending on the configuration. The pin
definitions are as the following table:
GPIOBASE Address: 480h
Pin No.
IN/OUT Register Address
Data Register Address
PIN BIT
2
GP 04h
SE + 0Ch + 3
3
+ 3
GPIOBA
3
GP 04h + 1
GPIOBAS
0
E + 0Ch + 1
4
GPIOBA
04h + 3
GP 0Ch + 3
4
SE +
5
GPIOBA
04h + 1
GP 0Ch + 1
7
SE +
6
GPIOBA
34h + 0
+ 38h + 0
1
SE +
GPIOBASE
7
GPIOBA
04h + 2
+ 0Ch + 2
4
SE +
GPIOBASE
8
GPIOBA
34h + 0
38h + 0
2
SE +
GP
9
GPIOBA
04h + 3
2
SE +
GP 0Ch + 3
IN/OUT Register
0: The respective GPIO PIN is programmed as an output port
PIN is programmed as an input port
t port
port
output port and output LOW
le:
7);
// set bit3 to 0
// set pin2 to be an output port
// set bit3 to 0
6. outportb(0x48F, iret);
// set pin2 to output low
1: The respective GPIO
Data Register
Read/Write: for outpu
Read Only: for input
Configure pin 2 to be an
【
C Language
】
Examp
1. int iret = inportb(0x48
2. iret = iret & ~0x08;
3. outportb(0x487, iret);
4. iret = inportb(0x48F);
5. iret = iret & ~0x08;
Содержание PEB-7602
Страница 1: ...PEB 7602 Intel Core 2 Duo Desktop Q965 Mini ITX User s Manual Rev 1 0 2007 04 25 ...
Страница 6: ...PEB 7602 User s Manual 6 55 Revision History Revision Date Comment Rev 1 0 Apr 2007 Initial released ...
Страница 7: ...PEB 7602 User s Manual CHAPTER 1 7 55 ...
Страница 13: ...PEB 7602 User s Manual 13 55 1 5 Dimensions Unit mm ...
Страница 14: ...PEB 7602 User s Manual CHAPTER 2 14 55 ...
Страница 20: ...PEB 7602 User s Manual 20 55 CHAPTER 3 ...
Страница 25: ...PEB 7602 User s Manual 25 55 CHAPTER 4 ...
Страница 27: ...PEB 7602 User s Manual 27 55 g 4 1 2 Advanced Settin ...
Страница 32: ...PEB 7602 User s Manual 32 55 4 1 2 3 Super IO Configuration ...
Страница 38: ...PEB 7602 User s Manual 38 55 4 1 2 7 MPS Configuration Select MPS Revision ...
Страница 41: ...PEB 7602 User s Manual 41 55 tting 4 1 3 Advanced PCI PnP Se ...
Страница 47: ...PEB 7602 User s Manual 47 55 ttings 4 1 6 Advanced Chipset Se ...
Страница 53: ...PEB 7602 User s Manual 53 55 Appendix ...