Hitachi H8/300L Series Manual page 90

Single-chip microcomputer
Hide thumbs Also See for H8/300L Series:
Table of Contents

Advertisement

Peripheral Functions
Timer X
Function: Timer X is a 16-bit timer that can output two independent waveforms based on a
free-running counter.
Features: • The timer X clock can be selected from three internal clock frequencies (ø/32,
ø/8, and ø/2) and an external clock.
• Timer X can output two waveforms.
• Four independent input capture functions
• A counter clear operation can be specified.
• Interrupts: two compare match interrupts, four input capture interrupts, and one
overflow interrupt.
Block Diagram
<Notation>
Output compare registers
OCRA and OCRB:
A and B (16 bits)
FRC:
Free-running counter (16 bits)
ICRA to ICRD:
Input capture registers A to D (16 bits)
TCSRX:
Timer control/status register X (8 bits)
TIER:
Timer interrupt enable register (8 bits)
TCRX:
Timer control register X (8 bits)
TOCR:
Timer output compare control register (8 bits)
External clock
FTCI
Clock selection
FTOA
FTOB
FTIA
FTIB
FTIC
FTID
Control
logic
Internal clocks
ø/2
ø/8
ø/32
Clock
Compare match A
Comparator A
Overflow
Clear
Compare match B
Comparator B
Capture
ICIA
ICIB
ICIC
ICID
Interrupt requests
OCIA
OCIB
FOVI
90
OCRA (H/L)
FRC (H/L)
OCRB (H/L)
ICRA (H/L)
ICRB (H/L)
ICRC (H/L)
ICRD (H/L)
TCSRX
TIER
TCRX
TOCR

Advertisement

Table of Contents
loading

Table of Contents