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

X  

MC68HC908GR4MP Datasheet(PDF) 230 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) 230 Page - Freescale Semiconductor, Inc

Back Button 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 MC68HC908GR4MP Datasheet HTML 230Page - Freescale Semiconductor, Inc MC68HC908GR4MP Datasheet HTML 231Page - Freescale Semiconductor, Inc MC68HC908GR4MP Datasheet HTML 232Page - Freescale Semiconductor, Inc MC68HC908GR4MP Datasheet HTML 233Page - Freescale Semiconductor, Inc MC68HC908GR4MP Datasheet HTML 234Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 230 / 286 page
background image
Timer Interface Module (TIM)
MC68HC908GR8 • MC68HC908GR4 Data Sheet, Rev. 7
230
Freescale Semiconductor
NOTE
References to either timer 1 or timer 2 may be made in the following text by
omitting the timer number. For example, TCH0 may refer generically to
T1CH0 and T2CH0, and TCH1 will refer to T1CH1.
NOTE
The Timer Interface Module in MC68HC908GR8 is constructed by TIM1
which contains channel 0 and 1, and TIM2 which contains channel 0 only.
22.4 Functional Description
Figure 22-1 shows the structure of the TIM. The central component of the TIM is the 16-bit TIM counter
that can operate as a free-running counter or a modulo up-counter. The TIM counter provides the timing
reference for the input capture and output compare functions. The TIM counter modulo registers,
TMODH:TMODL, control the modulo value of the TIM counter. Software can read the TIM counter value
at any time without affecting the counting sequence.
The TIM channels (per timer) are programmable independently as input capture or output compare
channels. If a channel is configured as input capture, then an internal pullup device may be enabled for
that channel. See Port D Input Pullup Enable Register.
In Figure 22-1, channel1 will only be available in TIM1 while channel 0 will be available in both TIM1 and
TIM2.
Figure 22-2 summarizes the timer registers.
22.4.1 TIM Counter Prescaler
The TIM clock source can be one of the seven prescaler outputs. The prescaler generates seven clock
rates from the internal bus clock. The prescaler select bits, PS[2:0], in the TIM status and control register
select the TIM clock source.
22.4.2 Input Capture
With the input capture function, the TIM can capture the time at which an external event occurs. When an
active edge occurs on the pin of an input capture channel, the TIM latches the contents of the TIM counter
into the TIM channel registers, TCHxH:TCHxL. The polarity of the active edge is programmable. Input
captures can generate TIM CPU interrupt requests.
22.4.3 Output Compare
With the output compare function, the TIM can generate a periodic pulse with a programmable polarity,
duration, and frequency. When the counter reaches the value in the registers of an output compare
channel, the TIM can set, clear, or toggle the channel pin. Output compares can generate TIM CPU
interrupt requests.



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