ADSP-214xx SHARC Processor Hardware Reference
A-269
Registers Reference
Peripheral Timer Registers
The timer peripheral module provides general-purpose timer functional-
ity. It consists of three identical timer units. Each timer has
memory-mapped registers. They are described in the following sections.
Read-Modify-Write Timer Control Register
For the Timer global control register, the traditional read-modify-write
operations to disable a timer have changed. The action is to directly write
which simplifies timer enable/disable and can be accomplished with fewer
instructions. Example:
Instead of:
ustat3=dm(TMCTL); /* Timer Control Register */
bit set ustat3 TIM1DIS; /* disables timer 1 */
dm(TMCTL)=ustat3;
Use:
ustat3 = TIM1DIS;
dm(TMCTL)=ustat3;
Writes to the enable and disable bit-pair for a timer works as follows.
TIMxDIS
= 0,
TIMxEN
= 0 – No action
TIMxDIS
= 0,
TIMxEN
= 1 – Enable the timer
TIMxDIS
= 1,
TIMxEN
= x – Disable the timer
For reads, the interpretation is as follows.
TIM1DIS
= 0,
TIMxEN
= 0 – Timer is disabled
TIM1DIS
= 1,
TIMxEN
= 1 – Timer is enabled
Any other read combination is not possible. Read of the
TMCTL
register
returns the enable status on both the enable and disable bits.
www.BDTIC.com/ADI
Содержание SHARC ADSP-214 Series
Страница 60: ...Contents lx ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 72: ...Notation Conventions lxxii ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 130: ...Programming Model 2 52 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 264: ...Programming Models 3 134 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 290: ...Programming Model 4 26 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 296: ...Programming Model 5 6 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 396: ...Effect Latency 7 28 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 520: ...Programming Model 10 62 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 616: ...Debug Features 14 22 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 656: ...Programming Model 15 40 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 714: ...Programming Model 19 10 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 1132: ...Register Listing A 306 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 1192: ...Index I 34 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...