Hardware Manual - RTD Embedded Technologies, Inc.
Hardware Manual - RTD Embedded Technologies, Inc.
Hardware Manual - RTD Embedded Technologies, Inc.
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
BA + 0x418h (1048): Digital I/O Port 2, Bit Programmable Port<br />
(Read/Write)<br />
8-bit Operation.<br />
Port 2:<br />
D7 D6 D5 D4 D3 D2 D1 D0<br />
P2.7 P2.6 P2.5 P2.4 P2.3 P2.2 P2.1 P2.0<br />
This port transfers the 8-bit Port 2 bit programmable digital input/output data between the module and<br />
external devices. The bits are individually programmed as input or output by writing to the Direction Register at<br />
BA + 0x41Ch. For all bits set as inputs, a read reads the input values and a write is ignored. For all bits set as<br />
outputs, a read reads the last value sent out on the line and a write writes the current loaded value out to the line.<br />
Note that when any reset of the digital circuitry is performed (clear chip or computer reset), all digital lines are<br />
reset to inputs and their corresponding output registers are cleared.<br />
BA + 0x41Ah (1050): Digital I/O Port 3, Byte Programmable Port<br />
(Read/Write)<br />
8-bit Operation.<br />
Port 3:<br />
D7 D6 D5 D4 D3 D2 D1 D0<br />
P3.7 P3.6 P3.5 P3.4 P3.3 P3.2 P3.1 P3.0<br />
This port transfers the 8-bit Port 3 digital input or digital output byte between the module and an external<br />
device. When Port 3 is set as inputs, a read reads the input values and a write is ignored. When Port 3 is set as<br />
outputs, a read reads the last value sent out of the port and a write writes the current loaded value out of the<br />
port.<br />
Note that when any reset of the digital circuitry is performed (clear chip or computer reset), all digital lines are<br />
reset to inputs and their corresponding output registers are cleared.<br />
54 DM6425HR dataModule BDM-610010034 Rev C