h8s-2161b Renesas Electronics Corporation., h8s-2161b Datasheet - Page 341

no-image

h8s-2161b

Manufacturer Part Number
h8s-2161b
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
This LSI has an on-chip 8-bit timer module (TMR_0 and TMR_1) with two channels operating on
the basis of an 8-bit counter. The 8-bit timer module can count external events, and can also be
used as a multifunction timer in a variety of applications, such as generation of counter reset,
interrupt requests, and pulse output with an arbitrary duty cycle using a compare-match signal
with two registers.
This LSI also has a similar on-chip 8-bit timer module (TMR_Y and TMR_X) with two channels,
which can be used through connection to the timer connection.
12.1
TIMH261A_010020020700
Selection of clock sources
Selection of three ways to clear the counters
Timer output controlled by two compare-match signals
Cascading of TMR_0 and TMR_1
Multiple interrupt sources for each channel
TMR_0, TMR_1: The counter input clock can be selected from six internal clocks and an
external clock
TMR_Y, TMR_X: The counter input clock can be selected from three internal clocks and
an external clock
The counters can be cleared on compare-match A or compare-match B, or by an external
reset signal.
The timer output signal in each channel is controlled by two independent compare-match
signals, enabling the timer to be used for various applications, such as the generation of
pulse output or PWM output with an arbitrary duty cycle. (The TMR_Y does not have a
timer output pin.)
(TMR_Y and TMR_X cannot be cascaded.)
Operation as a 16-bit timer can be performed using TMR_0 as the upper half and TMR_1
as the lower half (16-bit count mode).
TMR_1 can be used to count TMR_0 compare-match occurrences (compare-match count
mode).
TMR_0, TMR_1, and TMR_Y: Three types of interrupts: Compare-match A, compare-
match B, and overflow
TMR_X: Input capture
Features
Section 12 8-Bit Timer (TMR)
Rev. 3.00 Mar 21, 2006 page 287 of 788
Section 12 8-Bit Timer (TMR)
REJ09B0300-0300

Related parts for h8s-2161b