|
MC68HC908GP20 Datasheet, PDF (352/406 Pages) Freescale Semiconductor, Inc – M68HC08 Microcontrollers | |||
|
◁ |
22.2 Introduction
This section describes the timer interface (TIM) module. The TIM is a 2-
channel timer that provides a timing reference with input capture, output
compare, and pulse-width-modulation functions. Figure 22-1 is a block
diagram of the TIM. This particular MCU has two timer interface modules
which are denoted as TIM1 and TIM2.
22.3 Features
Features of the TIM include:
⢠Two input capture/output compare channels:
â Rising-edge, falling-edge, or any-edge input capture trigger
â Set, clear, or toggle output compare action
⢠Buffered and unbuffered pulse-width-modulation (PWM) signal
generation
⢠Programmable TIM clock input with 7-frequency internal bus clock
prescaler selection
⢠Free-running or modulo up-count operation
⢠Toggle any channel pin on overflow
⢠TIM counter stop and reset bits
⢠DMA (direct-memory access) service request generation
(optional, not available on this MCU)
⢠Modular architecture expandable to eight channels
⢠I/O port bit(s) software configurable with pullup device(s) if
configured as input port bit(s)
Advance Information
352
MC68HC908GP20 â Rev 2.1
Freescale Semiconductor
|
▷ |