Application Notes; Table 9.13 Timer G Operation Modes - Renesas H8/3847R Series Hardware Manual

8-bit single-chip microcomputer super low power
Table of Contents

Advertisement

Section 9 Timers
6. Timer G Operation Modes
Timer G operation modes are shown in table 9.13.

Table 9.13 Timer G Operation Modes

Operation Mode
TCG
Input capture
Interval
ICRGF
ICRGR
TMG
* When φw/4 is selected as the TCG internal clock in active mode or sleep mode, since
Note:
the system clock and internal clock are mutually asynchronous, synchronization is
maintained by a synchronization circuit. This results in a maximum count cycle error of
1/φ (s). When φw/4 is selected as the TCG internal clock in watch mode, TCG and the
noise canceler operate on the φw/4 internal clock without regard to the φ subclock
(φw/8, φw/4, φw/2). Note that when another internal clock is selected, TCG and the
noise canceler do not operate, and input of the input capture input signal does not result
in input capture.
To operate the timer G in subactive mode or subsleep mode, select φw/4 as the TCG
internal clock and φw/2 as the subclock φ
selected, or when φw/8 or φw/4 is selected as the subclock φ
canceler do not operate.
9.5.5

Application Notes

1. Internal Clock Switching and TCG Operation
Depending on the timing, TCG may be incremented by a switch between difference internal clock
sources. Table 9.14 shows the relation between internal clock switchover timing (by write to bits
CKS1 and CKS0) and TCG operation.
When TCG is internally clocked, an increment pulse is generated on detection of the falling edge
of an internal clock signal, which is divided from the system clock (φ) or subclock (φw). For this
reason, in a case like No. 3 in table 9.14 where the switch is from a high clock signal to a low
clock signal, the switchover is seen as a falling edge, causing TCG to increment.
Rev. 6.00 Aug 04, 2006 page 306 of 680
REJ09B0145-0600
Reset Active
Sleep
Reset Functions* Functions* Functions/
Reset Functions* Functions* Functions/
Reset Functions* Functions* Functions/
Reset Functions* Functions* Functions/
Reset Functions Held
Watch
Subactive Subsleep Standby
Functions/
Functions/
halted*
halted*
halted*
Functions/
Functions/
halted*
halted*
halted*
Functions/
Functions/
halted*
halted*
halted*
Functions/
Functions/
halted*
halted*
halted*
Held
Functions Held
. Note that when other internal clock is
SUB
Module
Standby
Halted
Halted
Halted
Halted
Held
Held
Held
Held
Held
Held
, TCG and the noise
SUB

Advertisement

Table of Contents
loading

Table of Contents