English
Language : 

MC68HC708MP16 Datasheet, PDF (226/398 Pages) Freescale Semiconductor, Inc – Microcontrollers
Timer Interface Module B (TIMB)
12.2 Introduction
This section describes the timer interface module (TIM4, Version B). The
TIMB is a four-channel timer that provides a timing reference with input
capture, output compare, and pulse-width-modulation functions.
Figure 12-1 is a block diagram of the TIMB.
12.3 Features
Features of the TIMB 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 modulation (PWM) signal
generation
• Programmable TIMB clock input
– Seven-frequency internal bus clock prescaler selection
– External TIMB clock input (4-MHz maximum frequency)
• Free-running or modulo up-count operation
• Toggle any channel pin on overflow
• TIMB counter stop and reset bits
• Modular architecture expandable to eight channels
12.4 Functional Description
Figure 12-1 shows the structure of the TIMB. The central component of
the TIMB is the 16-bit TIMB counter that can operate as a free-running
counter or a modulo up-counter. The TIMB counter provides the timing
reference for the input capture and output compare functions. The TIMB
counter modulo registers, TBMODH:TBMODL, control the modulo value
of the TIMB counter. Software can read the TIMB counter value at any
time without affecting the counting sequence.
The four TIMB channels are programmable independently as input
capture or output compare channels.
Technical Data
226
Timer Interface Module B (TIMB)
MC68HC708MP16 — Rev. 3.1
Freescale Semiconductor