Timer F; Overview - Hitachi H8/3937 Series Hardware Manual

Table of Contents

Advertisement

9.4

Timer F

9.4.1

Overview

Timer F is a 16-bit timer with a built-in output compare function. As well as counting external
events, timer F also provides for counter resetting, interrupt request generation, toggle output, etc.,
using compare match signals. Timer F can also be used as two independent 8-bit timers (timer FH
and timer FL).
1. Features
Features of timer F are given below.
• Choice of four internal clock sources (ø/32, ø/16, ø/4, øw/4) or an external clock (can be used
as an external event counter)
• TMOFH pin toggle output provided using a single compare match signal (toggle output initial
value can be set)
• Counter resetting by a compare match signal
• Two interrupt sources: one compare match, one overflow
• Can operate as two independent 8-bit timers (timer FH and timer FL) (in 8-bit mode).
Internal clock
Event input
Toggle output
Counter reset
Interrupt sources
Note:
When timer F operates as a 16-bit timer, it operates on the timer FL overflow signal.
*
• Operation in watch mode, subactive mode, and subsleep mode
When øw/4 is selected as the internal clock, timer F can operate in watch mode, subactive
mode, and subsleep mode.
• Use of module standby mode enables this module to be placed in standby mode independently
when not used.
196
Timer FH 8-Bit Timer*
Choice of 4 (ø/32, ø/16, ø/4, øw/4)
One compare match signal,
output to TMOFH pin
(initial value settable)
Counter can be reset by compare match signal
One compare match
One overflow
Timer FL 8-Bit Timer/Event Counter
TMIF pin
One compare match signal,
output to TMOFL pin
(initial value settable)

Advertisement

Table of Contents
loading

Table of Contents