Timer Registers - Texas Instruments TMS320C6201 Reference Manual

Tms320c6000 series peripherals
Hide thumbs Also See for TMS320C6201:
Table of Contents

Advertisement

Timer Registers

12.2 Timer Registers
Table 12–1. Timer Registers
Hex Byte Address
Timer 0
Timer 1
01940000
01980000
01940004
01980004
01940008
01980008
12.2.1 Timer Control Register
Figure 12–2. Timer Control Register
31
7
6
HLD
GO
RW, +0
RW, +0
Table 12–2. Timer Control Register Field Descriptions
Bitfield
Description
FUNC
Function of TOUT pin
FUNC = 0: TOUT is a general-purpose output pin.
FUNC = 1: TOUT is a timer output pin.
DATOUT
Data output
When FUNC = 0: The DATOUT is driven on TOUT.
When FUNC = 1: The TSTAT is driven on TOUT after inversion by INVOUT.
DATIN
Data in: Value on TINP pin
GO
GO bit. Resets and starts the timer counter.
GO = 0: No effect on the timers.
GO = 1: If HLD = 1, the counter register is zeroed and begins counting on the next clock.
12-4
Table 12–1 describes the three registers that configure timer operation.
Name
Description
Timer Control
Determines the operating mode of the timer, monitors
the timer status, and controls the function of the TOUT
pin.
Timer Period
Contains the number of timer input clock cycles to count.
This number controls the TSTAT signal frequency.
Timer Counter Current value of the incrementing counter
Figure 12–2 shows the timer control register. Table 12–2 describes the fields
in this register.
12
Rsvd
R, +0
5
4
Rsvd
PWID
R, +0
RW, +0
11
10
TSTAT
INVINP
R, +0
RW, +0
3
2
DATIN
DATOUT
RW, +0
RW, +0
Section
12.2.1
12.2.2
12.2.3
9
8
CLKSRC
C/P
RW, +0
RW, +0
1
0
INVOUT
FUNC
RW, +0
RW, +0
Section
12.6
12.6
12.5
12.3

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tms320c6701Tms320c6711Tms320c6211Tms320c6202

Table of Contents