Rev. 6.00, 08/04, page 284 of 628
Timer G Operation Modes
Timer G operation modes are shown in table 9.12.
Table 9.12
Timer G Operation Modes
Operation Mode
Reset Active
Sleep
Watch
Subactive Subsleep Standby
Module
Standby
TCG
Input capture
Reset Functions
*
Functions
*
Functions/
halted
*
Functions/
halted
*
Functions/
halted
*
Halted
Halted
Interval
Reset Functions
*
Functions
*
Functions/
halted
*
Functions/
halted
*
Functions/
halted
*
Halted
Halted
ICRGF
Reset Functions
*
Functions
*
Functions/
halted
*
Functions/
halted
*
Functions/
halted
*
Retained Retained
ICRGR
Reset Functions
*
Functions
*
Functions/
halted
*
Functions/
halted
*
Functions/
halted
*
Retained Retained
TMG
Reset Functions
Retained
Retained
Functions
Retained
Retained Retained
Note:
*
When
φ
w/4 is selected as the TCG internal clock in active mode or sleep mode, since 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
φ
SUB
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
φ
SUB
. Note that when other internal clock is
selected, or when
φ
w/8 or
φ
w/4 is selected as the subclock
φ
SUB
, TCG and the noise
canceler do not operate.
9.5.5
Application Notes
Internal Clock Switching and TCG Operation
Depending on the timing, TCG may be incremented by a switch between different internal clock
sources. Table 9.13 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.13 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.
Содержание H8/38024 Series
Страница 18: ...Rev 6 00 08 04 page xviii of xxx...
Страница 30: ...Rev 6 00 08 04 page xxx of xxx...
Страница 130: ...Rev 6 00 08 04 page 100 of 628...
Страница 216: ...Rev 6 00 08 04 page 186 of 628...
Страница 416: ...Rev 6 00 08 04 page 386 of 628...
Страница 432: ...Rev 6 00 08 04 page 402 of 628...
Страница 468: ...Rev 6 00 08 04 page 438 of 628...
Страница 661: ...H8 38024 H8 38024S H8 38024F ZTAT H8 38124 Group Hardware Manual...