Datasheet

Table Of Contents
MC68HC908GP20Rev 2.1 Advance Information
Freescale Semiconductor 347
21.5 Timebase Register Description
The timebase has one register, the TBCR, which is used to enable the
timebase interrupts and set the rate.
TBIF — Timebase Interrupt Flag
This read-only flag bit is set when the timebase counter has rolled
over.
1 = Timebase interrupt pending
0 = Timebase interrupt not pending
TBR2:TBR0 — Timebase Rate Selection
These read/write bits are used to select the rate of timebase interrupts
as shown in Table 21-1.
Address: $001C
Bit 7654321Bit 0
Read: TBIF
TBR2 TBR1 TBR0
0
TBIE TBON
TBTST*
Write: TACK
Reset:00000000
= Unimplemented * PTM test mode
Figure 21-2. Timebase Control Register (TBCR)
Table 21-1. Timebase Rate Selection for OSC1 = 32.768 kHz
TBR2 TBR1 TBR0 Divider
Timebase Interrupt Rate
Hz ms
0 0 0 32,768 1 1000
0018192 4 250
0 1 0 2048 16 62.5
0 1 1 128 256 ~ 3.9
100 64 512 ~2
101 32 1024 ~1
110 16 2048 ~0.5
1 1 1 8 4096 ~0.24