![Hynix Semiconductor GMS81C5108 User Manual Download Page 47](http://html1.mh-extra.com/html/hynix-semiconductor/gms81c5108/gms81c5108_user-manual_2192989047.webp)
GMS81C5108
44
JUNE 2001 Ver 1.0
Figure 11-2 BITR: Basic Interval Timer Mode Register
Example 1:
Interrupt request flag is generated every 8.192ms at 4MHz.
:
LDM
CKCTLR,#0CH
SET1
BITE
EI
:
BCL
7
6
5
4
3
2
1
0
-
-
-
BCK1
Basic Interval Timer source clock select
000: f
MAIN
÷
2
3
001: f
MAIN
÷
2
4
010: f
MAIN
÷
2
5
011: f
MAIN
÷
2
6
100: f
MAIN
÷
2
7
101: f
MAIN
÷
2
8
110: f
MAIN
÷
2
9
111: f
MAIN
÷
2
10
Clear bit
0: Normal operation (free-run)
1: Clear 8-bit counter (BITR) to "0". This bit becomes 0 automatically
INITIAL VALUE: ----0111
B
ADDRESS: 0F4
H
after one machine cycle.
CKCTLR
7
6
5
4
3
2
1
0
INITIAL VALUE: 00
H
ADDRESS: 0F4
H
BITR
Both register are in same address,
when write, to be a CKCTLR,
when read, to be a BITR.
Caution:
8-BIT BINARY COUNTER
-
f
MAIN
: main-clock frequency
f
SUB
: sub-clock frequency
BCK0
BCK2
or f
SUB
÷
2
4
or f
SUB
÷
2
3
or f
SUB
÷
2
6
or f
SUB
÷
2
5
or f
SUB
÷
2
7
or f
SUB
÷
2
9
or f
SUB
÷
2
8
or f
SUB
÷
2
10
Downloaded from
Elcodis.com
electronic components distributor