mc68hc908ap8a Freescale Semiconductor, Inc, mc68hc908ap8a Datasheet - Page 149

no-image

mc68hc908ap8a

Manufacturer Part Number
mc68hc908ap8a
Description
M68hc08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
TBR[2:0] — Timebase Rate Selection
TACK — Timebase ACKnowledge
TBIE — Timebase Interrupt Enabled
TBON — Timebase Enabled
Freescale Semiconductor
These read/write bits are used to select the rate of timebase interrupts as shown in
The TACK bit is a write-only bit and always reads as 0. Writing a logic 1 to this bit clears TBIF, the
timebase interrupt flag bit. Writing a logic 0 to this bit has no effect.
This read/write bit enables the timebase interrupt when the TBIF bit becomes set. Reset clears the
TBIE bit.
This read/write bit enables the timebase. Timebase may be turned off to reduce power consumption
when its function is not necessary. The counter can be initialized by clearing and then setting this bit.
Reset clears the TBON bit.
1 = Clear timebase interrupt flag
0 = No effect
1 = Timebase interrupt enabled
0 = Timebase interrupt disabled
1 = Timebase enabled
0 = Timebase disabled and the counter initialized to 0’s
1. If user selects one of the shaded timebase settings, ensure that the operating bus
TBR2
Do not change TBR[2:0] bits while the timebase is enabled (TBON = 1).
frequency is fast enough to service the periodic interrupts.
0
0
0
0
1
1
1
1
Table 10-1. Timebase Rate Selection for OSCCLK = 4 MHz
TBR1
0
0
1
1
0
0
1
1
MC68HC908AP A-Family Data Sheet, Rev. 3
TBR0
0
1
0
1
0
1
0
1
Divider
262144
131072
65536
32768
NOTE
64
32
16
8
125,000
250,000
500,000
15.259
30.518
61.035
122.07
62,500
Timebase Interrupt Rate
Hz
Timebase Register Description
65.536
32.768
16.384
8.192
0.016
0.008
0.004
0.002
ms
(1)
Table
10-1.
149

Related parts for mc68hc908ap8a