
Register Overview
16-4
ADSP-214xx SHARC Processor Hardware Reference
Register Overview
The following sections provide brief descriptions of the primary registers
used to program the timers. For information on the timer registers, see
“Peripheral Timer Registers” on page A-269
Status and Control Registers (TMSTAT).
The (
TMSTAT
) register indicates
the status of both timers using a single read. The
TMSTAT
register also con-
tains timer enable bits. Within
TMSTAT
, each timer has a pair of sticky
status bits, that require a write one-to-set (
TIMxEN
) or write one-to-clear
(
TIMxDIS
) to enable and disable the timer respectively.
Counter Registers (TMxCNT).
When disabled, the timer counter retains
its state. When re-enabled, the timer counter is re initialized from the
period/width registers based on configuration and mode. The timer coun-
ter value should not be set directly by the software. It can be set indirectly
by initializing the period or width values in the appropriate mode. The
counter should only be read when the respective timer is disabled. This
prevents erroneous data from being returned.
Period Registers (TMxPRD).
When enabled and running, the processor
writes new values to the timer period and pulse width registers. The writes
are buffered and do not update the registers until the end of the current
period (when the timer counter register equals the timer period register).
During the
pulse width modulation
(PWM_OUT), the period value is
written into the timer period registers. Both period and width register val-
ues must be updated “on the fly” since the period and width (duty cycle)
change simultaneously. To insure the period and width value concurrency,
a 32-bit period buffer and a 32-bit width buffer are used.
During the
pulse width and period capture
(WDTH_CAP) mode, the
period values are captured at the appropriate time. Since both the period
and width registers are read-only in this mode, the existing 32-bit period
and width buffers are used.
www.BDTIC.com/ADI
Summary of Contents for SHARC ADSP-214 Series
Page 60: ...Contents lx ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 72: ...Notation Conventions lxxii ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 130: ...Programming Model 2 52 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 264: ...Programming Models 3 134 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 290: ...Programming Model 4 26 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 296: ...Programming Model 5 6 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 396: ...Effect Latency 7 28 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 520: ...Programming Model 10 62 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 616: ...Debug Features 14 22 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 656: ...Programming Model 15 40 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 714: ...Programming Model 19 10 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 1132: ...Register Listing A 306 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 1192: ...Index I 34 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...