Spectra GmbH & Co. KG
User Manual
[email protected] Spectra PowerBox 3000A
109
WriteByte(AddrPort, 0x61)
// Select configuration register 61h (Low Byte address)
WriteByte(DataPort, (0x00))
<Leave the Extended Function Mode>
WriteByte(AddrPort, 0xAA)
default GPIO Port base address is 0xA00h
5.1.1.6 DATA Bit Table (DIO)
7 6 5 4 3 2 1 0
bit
0 0 0 1 - - - -
value
/h
1
X
= DI1
(Base
a3)
(0xA03)
7 6 5 4 3 2 1 0
bit
- - - - 0 0 0 1
value
/h
X
1
= DO1
(Base
a2)
(0xA02)
7 6 5 4 3 2 1 0
bit
0 0 1 0 - - - -
value
/h
2
X
= DI2
(Base
a3)
(0xA03)
7 6 5 4 3 2 1 0
bit
- - - - 0 0 1 0
value
/h
X
2
= DO2
Base address
+2) (0xA02)
7 6 5 4 3 2 1 0
bit
0 1 0 0 - - - -
value
/h
4
X
= DI3
(Base
a3)
(0xA03)
7 6 5 4 3 2 1 0
bit
- - - - 0 1 0 0
value
/h
X
4
= DO3
Base address
+2) (0xA02)
7 6 5 4 3 2 1 0
bit
1 0 0 0 - - - -
value
/h
8
X
= DI4
(Base
a3)
(0xA03)
7 6 5 4 3 2 1 0
bit
- - - - 1 0 0 0
value
/h
X
8
= DO4
Base address
+2) (0xA02)
5.1.1.7
DIO I/O Port Address (Default Address 0xA00)