Spectra
GmbH
&
Co.
KG
User
Manual
Spectra
PowerTwin
PE3950/PN4200
Apollo
+
sunreadable Displays
82
5.1.1.5 Change base address -
DIO
base address (default 0xA00)
<Enter the Extended Function Mode>
WriteByte(AddrPort, 0x87)
WriteByte(AddrPort, 0x87)
// Must write twice to enter Extended mode
<Select Logic Device>
WriteByte(AddrPort, 0x07)
WriteByte(
data
Port, 0x06)
// Select logic device 06h
WriteByte(AddrPort, 0x60)
// Select configuration register 60h (High Byte address)
Write
Byte(DataPort, (
0x0A
))
WriteByte(AddrPort, 0x61)
// Select configuration register 61h (Low Byte address)
Write
Byte(DataPort, (
0x00
))
<Leave the Extended Function Mode>
WriteByte(AddrPort, 0xAA)
Note:
DIO Port base address is 0x0A00h.
5.1.1.6 DATA Bit Table (DI/O)
= DI1
(Base A3)
(0xA03)
7 6 5 4 3 2 1 0
bit
0 0 0 1
‐ ‐ ‐ ‐
value
/h
1
X
= DI2
(Base A3)
(0xA03)
7 6 5 4 3 2 1 0
bit
0 0 1 0
‐ ‐ ‐ ‐
value
/h
2
X
= DI3
(Base A3)
(0xA03)
7 6 5 4 3 2 1 0
bit
0 1 0 0
‐ ‐ ‐ ‐
value
/h
4
X
= DI4
(Base A3)
(0xA03)
7 6 5 4 3 2 1 0
bit
1 0 0 0
‐ ‐ ‐ ‐
value
/h
8
X
= DO1
(Base A2)
(0xA02)
7 6 5 4 3 2 1 0
bit
‐ ‐ ‐ ‐
0 0 0 1
value
/h
X
1
7 6 5 4 3 2 1 0
bit
‐ ‐ ‐ ‐
0 0 1 0
value
/h
X
2
7 6 5 4 3 2 1 0
bit
‐ ‐ ‐ ‐
0 1 0 0
value
/h
X
4
7 6 5 4 3 2 1 0
bit
‐ ‐ ‐ ‐
1 0 0 0
value
/h
X
8
= DO2
(Base A2)
(0xA02)
= DO3
(Base A2)
(0xA02)
= DO4
(Base A2)
(0xA02)
Содержание PowerTwin P08C-AL-SR
Страница 11: ...Product Introductions Chapter 1...
Страница 29: ...System Pin Definitions and Settings Chapter 2...
Страница 39: ...System Setup Chapter 3...
Страница 57: ...BIOS Setup Chapter 4...
Страница 77: ...Product Application Chapter 5...
Страница 85: ...Optional Module Pin Definitions and Settings Chapter 6...