15
Chapter 3
3.2.3 Input/Output Control
A control word can be written to a port's configuration register (Base+3,
7, 11 and 15 respectively for ports 0, 1, 2 and 3 on the PCM-3753I, and
Base+35, 39, 43 and 47 respectively for ports 0, 1, 2 and 3 on the
PCM-3753IE) to set the port as an input or an output port, unless the ports
are set as output ports via jumpers (refer to Section 2.3, Jumper Settings).
Table 3-1 shows the format of a control word.
3.2.4 Initial Configuration
The initial configuration of each port depends on the input/output jumper
setting of each port, on the setting of the jumper JP1, and on whether the
power was actually disconnected or whether the system was hot reset.
If jumper JP1 is not enabled, all ports configured by software are
automatically set as input ports during system start up or reset, with a
default signal level of logic 1 (high). All ports set via jumpers as output
ports are set as output ports during system start up or reset, signal level
logic 0 (0 V).
Table 3.1: Bitmap of Port Configuration Register
D7
D6
D5
D4
D3
D2
D1
D0
Not
read
Not
read
Not
read
PortA
0: output
1: input
Port C
higher
bits
0: output
1: input
Not
read
Port B
0: output
1: input
Port C
lower bits
0: output
1: input
Note
A control word has no effect if the corresponding
port is set as an output port by a jumper.
Warning
Before setting any port as an output port via
software, make sure that a safe output value has
also been set. An output voltage will appear at
the pins immediately following the control word
taking effect. If no output value was specified, the
value will be indeterminate (either 0 or 1), which
may cause a dangerous condition.
Содержание PCM-3753I
Страница 1: ...PCM 3753I 96 channel Digital I O PCI 104 Module User Manual...
Страница 6: ...PCM 3753I User Manual vi...
Страница 7: ...2 CHAPTER 1 General Information...
Страница 12: ...PCM 3753I User Manual 6 1 5 Pin Assignments CN5 CN8 CN5 A0 B0 C0 CN6 A1 B1 C1 CN7 A2 B2 C2 CN8 A3 B3 C3...
Страница 13: ...2 CHAPTER 2 Installation...
Страница 19: ...2 CHAPTER 3 Operation...
Страница 30: ...PCM 3753I User Manual 24...