Freescale Semiconductor MC68HC908MR32 Manual Do Utilizador

Página de 282
MC68HC908MR32 • MC68HC908MR16 Data Sheet, Rev. 6.1
Freescale Semiconductor
215
Chapter 16 
Timer Interface A (TIMA)
16.1  Introduction
This section describes the timer interface module A (TIMA). The TIMA is a 4-channel timer that provides: 
Timing reference with input capture
Output compare
Pulse-width modulator functions
 is a block diagram of the TIMA.
16.2  Features
Features of the TIMA include:
Four 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 modulator (PWM) signal generation
Programmable TIMA clock input:
7-frequency internal bus clock prescaler selection
External TIMA clock input (4-MHz maximum frequency)
Free-running or modulo up-count operation
Toggle any channel pin on overflow
TIMA counter stop and reset bits