Texas-instruments TMS320C3x Bedienungsanleitung Seite 389

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 757
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 388
Timers
12-10
12.1.6 Timer Operation Modes
The timer can receive its input and send its output in several different modes,
depending upon the setting of CLKSRC, FUNC, and I/O. The four timer modes
of operation are defined in the following sections.
12.1.6.1 CLKSRC = 1 and FUNC = 0
If CLKSRC = 1 and FUNC = 0, the timer input comes from the internal clock.
The internal clock is not affected by the INV bit in the global-control register.
In this mode, TCLK is connected to the I/O port control, and you use TCLK as
a general-purpose I/O pin (see Figure 12–5).
If I/O = 0, TCLK is configured as a general-purpose input pin whose state
you can read in DATIN. DATOUT has no effect on TCLK or DATIN. See
Figure 12–5 (a).
If I/O = 1, TCLK is configured as a general-purpose output pin. DATOUT
is placed on TCLK and can be read in DATIN. See Figure 12–5 (b).
Figure 12–5. Timer Configuration with CLKSRC = 1 and FUNC = 0
CLKSRC=1 (internal)
FUNC=0 (I/O pin)
I
/O=0 (input)
I/O port
control
TCLK
ExternalInternal
Output
DATIN
Input
Internal
clock
TSTAT
Timer
DATIN
DATOUT
Internal External
TCLK
control
I/O port
Timer
TSTAT
clock
Internal
Output
Input
(a)
(b)
CLKSRC = 1 (internal)
FUNC = 0 (I/O pin)
I
/O = 1 (output)
Seitenansicht 388
1 2 ... 384 385 386 387 388 389 390 391 392 393 394 ... 756 757

Kommentare zu diesen Handbüchern

Keine Kommentare