hd64338342hw Renesas Electronics Corporation., hd64338342hw Datasheet - Page 301

no-image

hd64338342hw

Manufacturer Part Number
hd64338342hw
Description
Renesas 8-bit Single-chip Microcomputer H8 Family/h8/300l Super Low Power Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Note: * For details on interrupts, see section 3.3, Interrupts.
2. Real-time Clock Time Base Operation
When bit TMA3 in TMA is set to 1, timer A functions as a real-time clock time base by counting
clock signals output by prescaler W. The overflow period of timer A is set by bits TMA1 and
TMA0 in TMA. A choice of four periods is available. In time base operation (TMA3 = 1), setting
bit TMA2 to 1 clears both TCA and prescaler W to their initial values of H'00.
3. Clock Output
Setting bit TMOW in port mode register 1 (PMR1) to 1 causes a clock signal to be output at pin
TMOW. Nine different clock output signals can be selected by means of bits TMA7 to TMA5 in
TMA and bit CWOS in CWOSR. The system clock divided by 32, 16, 8, or 4 can be output in
active mode and sleep mode. A 32.768 kHz or 38.4 kHz signal divided by 32, 16, 8, or 4 can be
output in active mode, sleep mode, watch mode, subactive mode, and subsleep mode. The 32.768
kHz or 38.4 kHz clock is output in all modes except the reset state.
9.2.4
Table 9.4 summarizes the timer A operation states.
Table 9.4
Operation Mode
TCA
TMA
Note: When the real-time clock time base function is selected as the internal clock of TCA in
9.2.5
When bit 0 (TACKSTP) of the clock stop register 1 (CKSTPR1) is cleared to 0, bit 3 (TMA3) of
the timer mode register A (TMA) cannot be rewritten.
Set bit 0 (TACKSTP) of the clock stop register 1 (CKSTPR1) to 1 before rewriting bit 3 (TMA3)
of the timer mode register A (TMA).
Interval
Clock time base Reset Functions Functions Functions Functions Functions Halted
CWOSR
active mode or sleep mode, the internal clock is not synchronous with the system clock, so
it is synchronized by a synchronizing circuit. This may result in a maximum error of 1/ (s) in
the count cycle.
Timer A Operation States
Application Note
Timer A Operation States
Reset Active
Reset Functions Functions Halted
Reset Functions Retained Retained Functions Retained Retained Retained
Sleep
Watch
Rev. 6.00 Aug 04, 2006 page 265 of 680
Sub-
active
Halted
Sub-
sleep
Halted
Standby
Halted
REJ09B0145-0600
Section 9 Timers
Module
Standby
Halted
Halted

Related parts for hd64338342hw