264

Chapter 19 Timebase Timer

3.Configuration
3. Configuration
Figure 3-1 Configuration
Figure 3-2 List of Registers
1
0
Timebase
Timer interrupt
(#46)
Timebase counter
(26-bit counter)
Base clock
(φ)
Interval time
TBCR:bit 6
0
1
CTBR
Timer clear
TBIF TBCR:bit 7
0
1
Without interrupt request
With interrupt request
WRITE; 0: Flag clear
Selector
Edge detection
21222324210 211212 213 214 215216 217 218 219 220 221 222 223
0123
224 225226
TBC2-TBC0 TBCR:bit 5-3
211
0
0
1
10
11
0212
213
222
223
0
0
1
10
11
0224
225
226
1
0
1
0
1
1
1
1

Timebase timer

Timebase timer
0
TBIE
Interrupt disable
Interrupt enable
CTBR
Clears the counter
after writing "A5h"
and then "5Ah."
TBIF
91011121314151617181920212223 24 25
0
φ x
φ x
φ x
φ x
φ x
φ x
φ x
φ x