English
Language : 

SM320LF2407-EP Datasheet, PDF (48/112 Pages) Texas Instruments – DSP CONTROLLERS
SM320LF2407AĆEP
DSP CONTROLLERS
SGUS036B − JULY 2003 − REVISED OCTOBER 2003
description of shared I/O pins (continued)
Table 12. Shared Pin Configurations† (Continued)
PIN FUNCTION SELECTED
(MCRx.n = 1)
Primary Function
(MCRX.N = 0)
I/O
MUX
CONTROL
REGISTER
(name.bit #)
MUX CONTROL
VALUE AT RESET
(MCRx.n)
I/O PORT DATA AND DIRECTION‡
REGISTER DATA BIT NO.§ DIR BIT NO.¶
PORT E
CLKOUT
IOPE0
MCRC.0
1
PEDATDIR
0
8
PWM7
IOPE1
MCRC.1
0
PEDATDIR
1
9
PWM8
IOPE2
MCRC.2
0
PEDATDIR
2
10
PWM9
IOPE3
MCRC.3
0
PEDATDIR
3
11
PWM10
IOPE4
MCRC.4
0
PEDATDIR
4
12
PWM11
IOPE5
MCRC.5
0
PEDATDIR
5
13
PWM12
IOPE6
MCRC.6
0
PEDATDIR
6
14
CAP4/QEP3
IOPE7
MCRC.7
0
PEDATDIR
7
15
PORT F
CAP5/QEP4
IOPF0
MCRC.8
0
PFDATDIR
0
8
CAP6
IOPF1
MCRC.9
0
PFDATDIR
1
9
T3PWM/T3CMP
IOPF2
MCRC.10
0
PFDATDIR
2
10
T4PWM/T4CMP
IOPF3
MCRC.11
0
PFDATDIR
3
11
TDIRB
IOPF4
MCRC.12
0
PFDATDIR
4
12
TCLKINB
IOPF5
MCRC.13
0
PFDATDIR
5
13
† Bold, italicized pin names indicate pin functions at reset.
‡ Valid only if the I/O function is selected on the pin
§ If the GPIO pin is configured as an output, these bits can be written to. If the pin is configured as an input, these bits are read from.
¶ If the DIR bit is 0, the GPIO pin functions as an input. For a value of 1, the pin is configured as an output.
# At reset, all LF240xA devices come up with the W/R/IOPC0 pin in W/R mode.
|| Note that bits 15 through 9 of the MCRB register must be written as 1 only. Writing a 0 to any of these bits will cause unpredictable operation
of the device.
digital I/O control registers
Table 13 lists the registers available in the digital I/O module. As with other 240xA peripherals, these registers
are memory-mapped to the data space.
ADDRESS
7090h
7092h
7094h
7095h
7096h
7098h
709Ah
709Ch
709Eh
Table 13. Addresses of Digital I/O Control Registers
REGISTER
MCRA
MCRB
MCRC
PEDATDIR
PFDATDIR
PADATDIR
PBDATDIR
PCDATDIR
PDDATDIR
NAME
I/O MUX control register A
I/O mux control register B
I/O mux control register C
I/O port E data and direction register
I/O port F data and direction register
I/O port A data and direction register
I/O port B data and direction register
I/O port C data and direction register
I/O port D data and direction register
48
• POST OFFICE BOX 1443 HOUSTON, TEXAS 77251−1443