s908ey16g2vfar Freescale Semiconductor, Inc, s908ey16g2vfar Datasheet - Page 203

no-image

s908ey16g2vfar

Manufacturer Part Number
s908ey16g2vfar
Description
M68hc08 Microcontrollers Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Chapter 17
Timer Interface A (TIMA) Module
17.1 Introduction
This section describes the timer interface A module (TIMA). The TIMA is a 2-channel timer that provides
a timing reference with input capture, output compare, and pulse width modulation (PWM) functions.
Figure 17-2
For further information regarding timers on M68HC08 family devices, please consult the HC08 Timer
Reference Manual, Freescale document order number TIM08RM/AD.
17.2 Features
Features include:
17.3 Functional Description
Figure 17-2
can operate as a free-running counter or a modulo up-counter. The TIMA counter provides the timing
reference for the input capture and output compare functions. The TIMA counter modulo registers,
TAMODH–TAMODL, control the modulo value of the TIMA counter. Software can read the TIMA counter
value at any time without affecting the counting sequence.
The two TIMA channels are programmable independently as input capture or output compare channels.
17.3.1 TIMA Counter Prescaler
The TIMA 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 TIMA status and control register
select the TIMA clock source.
Freescale Semiconductor
Two input capture/output compare channels
Buffered and unbuffered PWM signal generation
Programmable TIMA clock input
Free-running or modulo up-count operation
Toggle any channel pin on overflow
TIMA counter stop and reset bits
Rising-edge, falling-edge, or any-edge input capture trigger
Set, clear, or toggle output compare action
7-frequency internal bus clock prescaler selection
shows the TIMA structure. The central component of the TIMA is the 16-bit TIMA counter that
is a block diagram of the TIMA.
MC68HC908EY16A • MC68HC908EY8A Data Sheet, Rev. 1
203

Related parts for s908ey16g2vfar