Datasheet
Timebase Module (TBM)
MC68HC908AP Family Data Sheet, Rev. 4
152 Freescale Semiconductor
Figure 10-1. Timebase Block Diagram
10.4 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
Address: $0051
Bit 7654321Bit 0
Read: TBIF
TBR2 TBR1 TBR0
0
TBIE TBON R
Write: TACK
Reset:00000000
= Unimplemented R = Reserved
Figure 10-2. Timebase Control Register (TBCR)
(See Chapter 5 Oscillator (OSC).)
÷ 2
SEL
0 0 0
0 0 1
0 1 0
0 1 1
TBIF
TBR1
TBR0
TBIE
TBON
R
TACK
TBR2
1 0 0
1 0 1
1 1 0
1 1 1
OSCCLK
÷ 2 ÷ 2 ÷ 2 ÷ 2 ÷ 2 ÷ 2
÷ 2 ÷ 2 ÷ 2 ÷ 2 ÷ 2 ÷ 2 ÷ 2
÷ 8 ÷ 16 ÷ 32 ÷ 64 ÷ 2048
÷ 32768 ÷ 65536 ÷ 131072
TBMINT
÷ 2 ÷ 2÷ 2 ÷ 2
÷ 262144
From OSC module