4. Clock Pulse Generators
Rev.3.00 Jul. 19, 2007 page 99 of 532
REJ09B0397-0300
4.4 Prescalers
The H8/3857 Group and H8/3854 Group are equipped with two on-chip prescalers having
different input clocks (prescaler S and prescaler W). Prescaler S is a 13-bit counter using the
system clock (
φ
) as its input clock. Its prescaled outputs provide internal clock signals for on-chip
peripheral modules. Prescaler W is a 5-bit counter using a 32.768-kHz signal divided by 4 (
φ
W
/4)
as its input clock. Its prescaled outputs are used by timer A as a time base for timekeeping.
Prescaler S (PSS):
Prescaler S is a 13-bit counter using the system clock (
φ
) as its input clock. It
is incremented once per clock period.
Prescaler S is initialized to H'0000 by a reset, and starts counting on exit from the reset state.
In standby mode, watch mode, subactive mode, and subsleep mode, the system clock pulse
generator stops. Prescaler S also stops and is initialized to H'0000.
The CPU cannot read or write prescaler S.
The output from prescaler S is shared by timer A, timer B, timer C*, timer F, SCI1*, SCI3, the
A/D converter, LCD controller, and 14-bit PWM*. The divider ratio can be set separately for each
on-chip peripheral function.
In active (medium-speed) mode the clock input to prescaler S is
φ
OSC
/16.
Note: * This is a function of the H8/3857 Group only, and is not provided in the H8/3854
Group.
Prescaler W (PSW):
Prescaler W is a 5-bit counter using a 32.768 kHz signal divided by 4 (
φ
W
/4)
as its input clock.
Prescaler W is initialized to H'00 by a reset, and starts counting on exit from the reset state.
Even in standby mode, watch mode, subactive mode, or subsleep mode, prescaler W continues
functioning so long as clock signals are supplied to pins X
1
and X
2
.
Prescaler W can be reset by setting 1s in bits TMA3 and TMA2 of timer mode register A (TMA).
Output from prescaler W can be used to drive timer A, in which case timer A functions as a time
base for timekeeping.
Содержание F-ZTAT H8 Series
Страница 6: ...Rev 3 00 Jul 19 2007 page iv of xxiv REJ09B0397 0300...
Страница 194: ...7 RAM Rev 3 00 Jul 19 2007 page 168 of 532 REJ09B0397 0300...
Страница 234: ...8 I O Ports Rev 3 00 Jul 19 2007 page 208 of 532 REJ09B0397 0300...
Страница 274: ...9 Timers Rev 3 00 Jul 19 2007 page 248 of 532 REJ09B0397 0300...
Страница 352: ...12 A D Converter Rev 3 00 Jul 19 2007 page 326 of 532 REJ09B0397 0300...
Страница 466: ...16 Electrical Characteristics H8 3854 Group Rev 3 00 Jul 19 2007 page 440 of 532 REJ09B0397 0300...
Страница 561: ......