Datasheet

Table Of Contents
Section 15 Asynchronous Event Counter (AEC)
Rev. 2.00 Jul. 04, 2007 Page 320 of 692
REJ09B0309-0200
IECPWM
AEVH
AEVL
IRQAEC
ECCR
PSS
ECCSR
Internal data bus
OVH
OVL
ECPWCR
ECPWDR
AEGSR
ECH
(8 bits)
CK
ECL
(8 bits)
CK
IRREC
To CPU interrupt
(IRREC2)
Edge sensing
circuit
Edge sensing
circuit
Edge sensing
circuit
PWM waveform generator
φ
φ/2
φ/4, φ/8
φ/2, φ/4,
φ/8, φ/16,
φ/32, φ/64
[Legend]
ECPWCR:
ECPWDR:
AEGSR:
ECCSR:
Event counter PWM compare register
Event counter PWM data register
Input pin edge select register
Event counter control/status register
ECL:
ECCR:
ECH:
PSS:
Event counter L
Event counter control register
Event counter H
Prescaler S
Figure 15.1 Block Diagram of Asynchronous Event Counter
15.2 Input/Output Pins
Table 15.1 shows the pin configuration of the asynchronous event counter.
Table 15.1 Pin Configuration
Pin Name Abbreviation I/O Function
Asynchronous event
input H
AEVH Input Event input pin for input to event counter H
Asynchronous event
input L
AEVL Input Event input pin for input to event counter L
Event input enable
interrupt input
IRQAEC Input Input pin for interrupt enabling event input