mc68hc908jw32 Freescale Semiconductor, Inc, mc68hc908jw32 Datasheet - Page 123

no-image

mc68hc908jw32

Manufacturer Part Number
mc68hc908jw32
Description
M68hc08 Microcontrollers Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc68hc908jw32FAE
Manufacturer:
FREESCALE
Quantity:
20 000
TBR2–TBR0 — Timebase Rate Selection
TACK — Timebase ACKnowledge
TBIE — Timebase Interrupt Enabled
TBON — Timebase Enabled
9.5 Interrupts
The timebase module can interrupt the CPU on a regular basis with a rate defined by TBR2–TBR0. When
the timebase counter chain rolls over, the TBIF flag is set. If the TBIE bit is set, enabling the timebase
interrupt, the counter chain overflow will generate a CPU interrupt request. The interrupt vector is defined
in
Interrupts must be acknowledged by writing a logic 1 to the TACK bit.
Freescale Semiconductor
Table 6-3. Interrupt
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 0s
Do not change TBR2–TBR0 bits while the timebase is enabled (TBON = 1).
TBR2
0
0
0
0
1
1
1
1
Sources.
Table 9-1. Timebase Rate Selection (88-kHz Reference)
TBR1
0
0
1
1
0
0
1
1
MC68HC908JW32 Data Sheet, Rev. 5
TBR0
0
1
0
1
0
1
0
1
Divider
262144
131072
65536
32768
16384
8192
4096
2048
NOTE
~0.33
~0.67
~10.7
~21.5
~43.0
~1.3
~2.7
~5.4
Timebase Interrupt Rate
Hz
~2979
~1489
~745
~372
~186
~93
~47
~23
ms
Table
9-1.
Interrupts
123

Related parts for mc68hc908jw32