Timer Data Registers - Samsung S3C2500B User Manual

Table of Contents

Advertisement

32-BIT TIMERS

17.6.2 TIMER DATA REGISTERS

The timer data registers, TDATA0 - TDATA5, contain a value that specifies the time-out duration for each timer.
The formula for calculating the time-out duration is: (Timer data) cycles.
The timer is dependent on the system bus clock. When the system bus is 133 MHz, the minimum value, 0x1 for
TDATA, generates interrupt at every 7.5n sec. It takes about 32.2 sec for TDATA to go from 0x0 to
0xFFFFFFFF.
Although TOUT signal is designed to come out whenever time-out occurs, it is possible for TOUT signal not to
work properly for some TDATA values when interrupt is enabled. The reason is that ARM940T spends the
specific time to reach interrupt service routine after time-out takes place. The elapsed time from time-out to
interrupt service routine is approximately 27 cycles (200n sec, at 133 MHz). Therefore, TDATA should be set to
the bigger value than '0x1A', to avoid another time-out, while it is carrying out the process between time-out and
interrupt routine.
Register
Address
TDATA0
0xF0040010
TDATA1
0xF0040018
TDATA2
0xF0040020
TDATA3
0xF0040028
TDATA4
0xF0040030
TDATA5
0xF0040038
31
17-6
Table 17-2. TDATA0 - TDATA5 Registers
R/W
R/W
Timer 0 data register
R/W
Timer 1 data register
R/W
Timer 2 data register
R/W
Timer 3 data register
R/W
Timer 4 data register
R/W
Timer 5 data register
[31:0] Timer 0-5 data value
Figure 17-4. Timer Data Registers (TDATA0 - TDATA5)
Description
Timer Data
S3C2500B
Reset Value
0x00000000
0x00000000
0x00000000
0x00000000
0x00000000
0x00000000
0

Advertisement

Table of Contents
loading

Table of Contents