Samsung S3C2416 User Manual page 308

16/32-bit risc
Table of Contents

Advertisement

REAL TIME CLOCK
1.2.5 Tick time interrupt
The RTC tick time is used for interrupt request. The TICNT register has an interrupt enable bit and the count value
for the interrupt. The count value reaches '0' when the tick time interrupt occurs. Then the period of interrupt is as
follows:
Tick clock frequency (Hz) = RTC clock / 2
- n: RTC clock divide value(decided by RTCCON[8:4] )
Resolution = 1 / Tick clock frequency
Clock range = Resolution * 2
Tick counter clock source
selection
TICSel = 1
TICsel2 = 0, TICSel =0
TICsel2 = 1, TICSel =0
TICsel2 = 2, TICSel =0
TICsel2 = 3, TICSel =0
TICsel2 = 6, TICSel =0
TICsel2 = 7, TICSel =0
TICsel2 = 8, TICSel =0
TICsel2 = 4, TICSel =0
TICsel2 = 9, TICSel =0
TICsel2 = 10, TICSel =0
TICsel2 = 11, TICSel =0
TICsel2 = 12, TICSel =0
TICsel2 = 13, TICSel =0
TICsel2 = 14, TICSel =0
TICsel2 = 5, TICSel =0
NOTE: This RTC time tick may be used for real time operating system (RTOS) kernel time tick.
If time tick is generated by the RTC time tick, the time related function of RTOS will always synchronized in real time.
13-4
n
32
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
S3C2416X RISC MICROPROCESSOR
Clock range (s)
17
0 ~ 2
18
0 ~ 2
19
0 ~ 2
20
0 ~2
21
0 ~ 2
22
0 ~ 2
23
0 ~ 2
24
0 ~ 2
25
0 ~ 2
26
0 ~ 2
27
0 ~ 2
28
0 ~ 2
29
0 ~ 2
30
0 ~ 2
31
0 ~2
32
0 ~2
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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents