Samsung S5PC110 Manual page 784

Risc microprocessor
Table of Contents

Advertisement

S5PC110_UM
4.6 TICK TIME INTERRUPT
The RTC tick time is used for interrupt request. The TICNT register contains an interrupt enable bit and count
value for the interrupt. If the count value reaches '0' if the tick time interrupt occurs. Then the period of interrupt is
as follows:
Period = (n+1) / (Tick clock source frequency) second (n= tick counter value)
Tick Counter Clock
Source Selection
4'b0000
4'b0001
4'b0010
4'b0011
4'b0100
4'b0101
4'b0110
4'b0111
4'b1000
4'b1001
4'b1010
4'b1011
4'b1100
4'b1101
4'b1110
4'b1111
NOTE: You can select the appropriate tick time clock source to extend the tick time resolution.
This RTC time tick can be used for Real Time Operating System (RTOS) kernel time tick. If RTC time tick
generates time tick, the time related function of RTOS always synchronized in real time.
Table 4-1
Tick Interrupt Resolution
Tick Clock
Source Frequency(Hz)
32768 (2^15)
16384 (2^14)
8192 (2^13)
4096 (2^12)
2048 (2^11)
1024 (2^10)
512 (2^9)
256 (2^8)
128 (2^7)
64 (2^6)
32 (2^5)
16 (2^4)
8 (2^3)
4 (2^2)
2
1
4 REAL TIME CLOCK (RTC)
Clock Range (s)
0 ~ 131071
0 ~ 262143
0 ~ 524287
0 ~ 1048575
0 ~ 2097151
0 ~ 4194303
0 ~ 8388607
0 ~ 16777215
0 ~ 33554431
0 ~ 67108863
0 ~ 134217727
0 ~ 268435455
0 ~ 536870911
0 ~ 1073741823
0 ~ 2147483647
0 ~ 4294967295
Resolution (ms)
0.03
0.06
0.12
0.24
0.49
0.97
1.95
3.90
7.81
15.62
31.25
62.50
125
250
500
1000
4-5

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents