English
Language : 

SMJ320C6414 Datasheet, PDF (70/133 Pages) Texas Instruments – FIXED-POINT DIGITAL SIGNAL PROCESSORS
SMJ320C6414, SMJ320C6415, SMJ320C6416
FIXEDĆPOINT DIGITAL SIGNAL PROCESSORS
SGUS050A − JANUARY 2004 − REVISED MARCH 2004
general-purpose input/output (GPIO)
To use the GP[15:0] software-configurable GPIO pins, the GPxEN bits in the GP Enable (GPEN) Register and
the GPxDIR bits in the GP Direction (GPDIR) Register must be properly configured.
GPxEN = 1 GP[x] pin is enabled
GPxDIR = 0 GP[x] pin is an input
GPxDIR = 1 GP[x] pin is an output
where “x” represents one of the 15 through 0 GPIO pins
Figure 6 shows the GPIO enable bits in the GPEN register for the C6414/C6415/C6416 device. To use any of
the GPx pins as general-purpose input/output functions, the corresponding GPxEN bit must be set to “1”
(enabled). Default values are device-specific, so refer to Figure 6 for the C6414/15/16 default configuration.
31
24 23
16
Reserved
R-0
15
GP15
EN
14
GP14
EN
13
GP13
EN
12
GP12
EN
11
GP11
EN
10
GP10
EN
9
GP9
EN
8
GP8
EN
7
GP7
EN
6
GP6
EN
5
GP5
EN
4
GP4
EN
3
GP3
EN
2
GP2
EN
1
GP1
EN
0
GP0
EN
R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-1 R/W-1 R/W-1 R/W-1 R/W-1 R/W-0 R/W-0 R/W-1
Legend: R/W = Readable/Writable; -n = value after reset, -x = undefined value after reset
Figure 6. GPIO Enable Register (GPEN) [Hex Address: 01B0 0000]
Figure 7 shows the GPIO direction bits in the GPDIR register. This register determines if a given GPIO pin is
an input or an output providing the corresponding GPxEN bit is enabled (set to “1”) in the GPEN register. By
default, all the GPIO pins are configured as input pins.
31
24 23
16
Reserved
R-0
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
GP15 GP14 GP13 GP12 GP11 GP10 GP9 GP8 GP7 GP6 GP5 GP4 GP3 GP2 GP1 GP0
DIR DIR DIR DIR DIR DIR DIR DIR DIR DIR DIR DIR DIR DIR DIR DIR
R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0
Legend: R/W = Readable/Writable; -n = value after reset, -x = undefined value after reset
Figure 7. GPIO Direction Register (GPDIR) [Hex Address: 01B0 0004]
For more detailed information on general-purpose inputs/outputs (GPIOs), see the TMS320C6000 DSP
General-Purpose Input/Output (GPIO) Reference Guide (literature number SPRU584).
70
• POST OFFICE BOX 1443 HOUSTON, TEXAS 77251−1443