Datasheet
Section 11 Realtime Clock (RTC)
Rev.7.00 Dec. 24, 2008 Page 362 of 698
REJ09B0074-0700
Table 11.3 Operating State in Each Mode
Function
High-
Speed
Medium-
Speed
Sleep
Module
Stop
Watch
Subactive
Subsleep
Software
Standby
Hard-ware
Standby
Clock operation Subclock
operation
Subclock
operation
Subclock
operation
Halted
(Retained)
Subclock
operation
Subclock
operation
Subclock
operation
Subclock
operation
Halted
(Reset)
Free running
timer operation
Operating Operating Operating Halted
(Retained)
Halted
(Retained)
Halted
(Retained)
Halted
(Retained)
Halted
(Retained)
Halted
(Reset)
11.7 Usage Notes
(1) Notes on Using the Emulator
In the E6000 emulator the RTC module is mounted on an external extended board. Since it must
be accessed as an external module, the limitations listed below apply. These limitations do not
apply to the E10A or to product chips.
• RTC operation is not supported in the H8S/2218 Group's mode 7 (single-chip mode).
• When using the RTC module in the H8S/2218 Group's mode 6 (on-chip ROM-enabled mode)
or the H8S/2212 Group's mode 7 (single-chip mode), A7 to A0 are input pins in the initial
status. Therefore, A7 to A0 must be set as output pins by setting PC7DDR to PC0DDR to H'FF
before accessing the RTC module.
• The above setting is not necessary when using the RTC module in the H8S/2218 Group's
modes 4 and 5 (on-chip ROM-disabled mode) because A7 to A0 are output pins.
(2) Bus Interface
The bus interface of the module conforms to the bus specifications for external area 7.
Consequently, before accessing the RTC module, area 7 must be specified as having an 8-bit bus
width and 3-state access using the bus controller register.
(3) Method for Reading Pin States Using the Port D Register (PORTD)
First access EXMDLSTP or the RTC register (address range: H'FFFF40 to H'FFFF5F). Then, you
must perform a dummy read to the external address space (such as H'FFEF00 to H'FF7FF) outside
the range H'FFFF40 to H'FFFF5F before reading PORTD.