Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

MC68HC908GR4MP Datasheet(PDF) 225 Page - Freescale Semiconductor, Inc

Part # MC68HC908GR4MP
Description  M68HC08 Microcontrollers
PDF  286 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  FREESCALE [Freescale Semiconductor, Inc]
Direct Link  http://www.freescale.com
Logo FREESCALE - Freescale Semiconductor, Inc

MC68HC908GR4MP Datasheet(HTML) 225 Page - Freescale Semiconductor, Inc

Back Button MC68HC908GR4MP Datasheet HTML 221Page - Freescale Semiconductor, Inc MC68HC908GR4MP Datasheet HTML 222Page - Freescale Semiconductor, Inc MC68HC908GR4MP Datasheet HTML 223Page - Freescale Semiconductor, Inc MC68HC908GR4MP Datasheet HTML 224Page - Freescale Semiconductor, Inc MC68HC908GR4MP Datasheet HTML 225Page - Freescale Semiconductor, Inc MC68HC908GR4MP Datasheet HTML 226Page - Freescale Semiconductor, Inc MC68HC908GR4MP Datasheet HTML 227Page - Freescale Semiconductor, Inc MC68HC908GR4MP Datasheet HTML 228Page - Freescale Semiconductor, Inc MC68HC908GR4MP Datasheet HTML 229Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 225 / 286 page
background image
MC68HC908GR8 • MC68HC908GR4 Data Sheet, Rev. 7
Freescale Semiconductor
225
Chapter 21
Timebase Module (TBM)
21.1 Introduction
This section describes the timebase module (TBM). The TBM will generate periodic interrupts at user
selectable rates using a counter clocked by the external crystal clock. This TBM version uses 15 divider
stages, eight of which are user selectable.
For further information regarding timers on M68HC08 family devices, please consult the HC08 Timer
Reference Manual, TIM08RM/AD.
21.2 Features
Features of the TBM module include:
•
Software programmable 1 Hz, 4 Hz, 16 Hz, 256 Hz, 512 Hz, 1024 Hz, 2048 Hz, and 4096 Hz
periodic interrupt using external 32.768 kHz crystal
•
User selectable oscillator clock source enable during stop mode to allow periodic wakeup from stop
21.3 Functional Description
NOTE
This module is designed for a 32.768 kHz oscillator.
This module can generate a periodic interrupt by dividing the crystal frequency, CGMXCLK. The counter
is initialized to all 0s when TBON bit is cleared. The counter, shown in Figure 21-1, starts counting when
the TBON bit is set. When the counter overflows at the tap selected by TBR2:TBR0, the TBIF bit gets set.
If the TBIE bit is set, an interrupt request is sent to the CPU. The TBIF flag is cleared by writing a 1 to the
TACK bit. The first time the TBIF flag is set after enabling the timebase module, the interrupt is generated
at approximately half of the overflow period. Subsequent events occur at the exact period.
The timebase module may remain active after execution of the STOP instruction if the crystal oscillator
has been enabled to operate during stop mode through the OSCSTOPENB bit in the configuration
register. The timebase module can be used in this mode to generate periodic wakeup from stop mode.
21.4 Interrupts
The timebase module can periodically interrupt the CPU 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.
NOTE
Interrupts must be acknowledged by writing a 1 to the TACK bit.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com