0 timers, Figure 71. programmable timer functional diagram, Table 415. timer performance ranges – Intel CONTROLLERS 413808 User Manual

Page 627: 71 programmable timer functional diagram, 415 timer performance ranges, Timers, This chapter describes the intel xscale, Timers—intel

Advertising
background image

Intel

®

413808 and 413812 I/O Controllers in TPER Mode

October 2007

Developer’s Manual

Order Number: 317805-001US

627

Timers—Intel

®

413808 and 413812

11.0

Timers

This chapter describes the Intel XScale

®

processor dual-programmable 32-bit timers

and Watch Dog Timer. Topics include timer registers (TMRx, TCRx and TRRx), timer

operation, timer interrupts, and timer register values at initialization.
Each timer is programmed by the timer registers. These registers are mapped into Intel

XScale

®

processor Coprocessor 6, registers 0 to 8. They may be accessed/manipulated

with the MCR, MRC, STC, and LDC instructions. The CRn field of the instruction denotes

the register number to be accessed. The opcode_1 and opcode_2 fields of the

instruction should be zero. The CRm field of the instruction should be nine. Most

systems restrict access to CP6 to privileged processes. To control access to CP6, use

the Coprocessor Access Register.

Figure 71

shows a diagram of the timer functions. See also

Figure 72

for the

Programmable Timer state diagram.

When enabled, a timer decrements the user-defined count value with each Timer Clock

(TCLOCK) cycle. The countdown rate is also user-configurable to be equal to the

internal bus frequency, or the internal bus clock rate divided by 4, 8 or 16. The timers

can be programmed to either stop when the count value reaches zero (single-shot

mode) or run continuously (auto-reload mode). When a timer’s count reaches zero, the

timer’s interrupt unit signals the processor’s interrupt controller.

Figure 71. Programmable Timer Functional Diagram

A6769-01

Timer Mode Register

Timer Reload Register

32-Bit Register

Timer Count Register

32-Bit Register

32-Bit Compare

Against Zero

Interrupt Unit

Clock

Unit

Selected

Clock

Bus

Clock

Terminal Count

Address

Detect

Internal

CPU

Bus

Interrupt

Output

User/
Privileged Mode

Table 415. Timer Performance Ranges

Internal Bus Frequency (MHz)

Max Resolution (ns)

Max Range (mins)

400

2.5

2.86

Advertising