
MC80F0104/0204
Preliminary
40
Mar. 2005 Ver 0.2
Table 11-1 Basic Interval Timer Interrupt Period
Figure 11-2 BITR: Basic Interval Timer Mode Register
Example 1:
Interrupt request flag is generated every 8.192ms at 4MHz.
:
LDM
CKCTLR,#1BH
SET1
BITE
EI
:
Example 2:
Interrupt request flag is generated every 8.192ms at 8MHz.
:
LDM
CKCTLR,#1CH
SET1
BITE
EI
:
CKCTLR
[2:0]
Source clock
Interrupt (overflow) Period (ms)
@ f
XIN
= 8MHz
000
001
010
011
100
101
110
111
f
XIN
÷
8
f
XIN
÷
16
f
XIN
÷
32
f
XIN
÷
64
f
XIN
÷
128
f
XIN
÷
256
f
XIN
÷
512
f
XIN
÷
1024
0.256
0.512
1.024
2.048
4.096
8.192
16.384
32.768
BTCL
7
6
5
4
3
2
1
0
RCWDT
-
ADRST
BTS1
Basic Interval Timer source clock select
000: f
XIN
÷
8
001: f
XIN
÷
16
010: f
XIN
÷
32
011: f
XIN
÷
64
100: f
XIN
÷
128
101: f
XIN
÷
256
110: f
XIN
÷
512
111: f
XIN
÷
1024
Clear bit
0: Normal operation (free-run)
1: Clear 8-bit counter (BITR) to “0”. This bit becomes 0 automatically
INITIAL VALUE: 0-01 0111
B
ADDRESS: 0F2
H
after one machine cycle, and starts counting.
CKCTLR
INITIAL VALUE: Undefined
ADDRESS: 0F2
H
BITR
Both register are in same address,
when write, to be a CKCTLR,
when read, to be a BITR.
Caution:
8-BIT FREE-RUN BINARY COUNTER
WDTON
BTS0
BTS2
BTCL
BTCL
7
6
5
4
3
2
1
0
Watchdog timer Enable bit
0: Operate as 7-bit Timer
See the section “Watchdog Timer”.
Address Trap Reset Selection
0: Enable Address Fail Reset
1: Disable Address Fail Reset
1: Enable Watchdog Timer operation
0: Disable Internal RC Watchdog Timer
1: Enable Internal RC Watchdog Timer
RC Watchdog Selection bit
Summary of Contents for MC80C0104
Page 108: ...MC80F0104 0204 Preliminary 104 Mar 2005 Ver 0 2 25 Emulator EVA Board Setting...
Page 115: ...APPENDIX...
Page 116: ......
Page 124: ...viii Mar 2005 Ver 0 2 MC80F0104 0204 Preliminary...