Asynchronous Event Counter Operation Modes; Application Notes - Renesas H8 Series Hardware Manual

8-bit single-chip microcomputer
Hide thumbs Also See for H8 Series:
Table of Contents

Advertisement

Section 9 Timers
9.7.4

Asynchronous Event Counter Operation Modes

Asynchronous event counter operation modes are shown in table 9.21.
Table 9.21 Asynchronous Event Counter Operation Modes
Operation
Mode
Reset Active
Functions Functions Retained *
AEGSR
Reset
Functions Functions Retained *
ECCR
Reset
Functions Functions Retained *
ECCSR
Reset
Functions Functions Functions *
ECH
Reset
Functions Functions Functions *
ECL
Reset
Functions Functions Retained *
IRQAEC
Reset
Event
Reset
Functions Functions Retained
counter
PWM
Notes: 1. When an asynchronous external event is input, the counter increments but the counter
overflow H/L flags are not affected.
2. Operates when asynchronous external events are selected; halted and retained
otherwise.
3. Clock control by IRQAEC operates, but interrupts do not.
4. As the clock is stopped in module standby mode, IRQAEC has no effect.
9.7.5

Application Notes

1. When reading the values in ECH and ECL, the correct value will not be returned if the event
counter increments during the read operation. Therefore, if the counter is being used in the 8-
bit mode, clear bits CUEH and CUEL in ECCSR to 0 before reading ECH or ECL. If the
counter is being used in the 16-bit mode, clear CUEL only to 0 before reading ECH or ECL.
2. Use a clock with a frequency of up to 16 MHz for input to the AEVH and AEVL pins, and
ensure that the high and low widths of the clock are at least half the OSC clock cycle duration.
The duty cycle is immaterial.
Rev. 7.00 Mar 10, 2005 page 328 of 652
REJ09B0042-0700
Sleep
Watch
1
1
1
1
*
1
*
3
Subactive
Subsleep
Functions
Functions
Functions
Functions
Functions
Functions
2
Functions *
2
Functions *
2
2
Functions *
Functions *
Functions
Functions
Retained
Retained
Module
Standby
Standby
Retained *
1
Retained
Retained *
1
Retained
Retained *
1
Retained
2
Functions *
1
*
2
Halted
2
1
2
Functions *
*
Halted
3
Retained *
Retained *
Retained
Retained
4

Advertisement

Table of Contents
loading

Table of Contents