
TMS370Cx9x
8-BIT MICROCONTROLLER
SPNS036B – JANUARY 1996 – REVISED FEBRUARY 1997
18
POST OFFICE BOX 1443
HOUSTON, TEXAS 77251–1443
digital port control registers
Peripheral file frame 2 contains the digital I/O pin configuration and control registers. Table 11 displays the
specific addresses, registers, and control bits within this peripheral file frame.
Table 11. Peripheral File Frame 2: Digital Port Control Registers
ááááááááááááááááááááááááááááááá
ááááááááááááááááááááááááááááááááá
ááááááááááááááááááááááááááááááááá
ááááááááááááááááááááááááááááááááá
á
ááááááááááááááááááááááááááááá
ááááááááááááááááááááááááááááááá
ááááááááááááááááááááááááááááááá
ááááááááááááááááááá
áááá
áááá
ááááááááááááááááááááááááááááááá
ááááááááááááááááááááááááááááááááá
P022
Port A Data
ADATA
áá
á
P024
to
áááááááááááááááááááááááááá
ááááááááááááááááááááááááááááááá
P02D
á
Reserved
áá
á
ááááááááááááá
P02E
—
—
—
DPORT2
Port D Data
—
—
—
DDATA
P02F
Port D Direction
—
—
—
DDIR
Table 12. Port Configuration Register Setup
PORT
PIN
abcd
00q1
abcd
00y0
A
0–7
Data out q
Data in y
3–7
Data out q
Data in y
a = Port x control register 1
b = Port x control register 2
c = Data
d = Direction
timer 1 module
The programmable timer 1 (T1) module of the TMS370Cx9x provides the designer with the enhanced timer
resources required to perform real-time system control. The T1 module contains the general-purpose timer and
the watchdog (WD) timer. The two independent 16-bit timers, T1 and WD, allow program selection of input clock
sources (real-time, external event, or pulse-accumulate) with multiple 16-bit registers (input capture and
compare) for special timer function control. The T1 module includes three external device pins that can be used
for multiple counter functions (operation-mode dependent) or used as general-purpose I/O pins. The T1 module
block diagram is shown in Figure 5.