R0K572030S000BE Renesas Electronics America, R0K572030S000BE Datasheet - Page 748

KIT DEV FOR SH7203

R0K572030S000BE

Manufacturer Part Number
R0K572030S000BE
Description
KIT DEV FOR SH7203
Manufacturer
Renesas Electronics America
Series
Renesas Starter Kits (RSK)r
Type
MCUr
Datasheets

Specifications of R0K572030S000BE

Contents
CPU Board, LCD Module, E10A-Lite Emulator, Cable, QuickStart Guide and CD-ROM
Silicon Manufacturer
Renesas
Kit Contents
Board
Silicon Family Name
SH7203
Silicon Core Number
R5S72030W200FP
Tool / Board Applications
General Purpose MCU, MPU, DSP, DSC
Mcu Supported Families
SH7203
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
SH7203
Lead Free Status / Rohs Status
Compliant
Section 14 Realtime Clock (RTC)
14.4.3
Figure 14.3 shows how to read the time.
If a carry occurs while reading the time, the correct time will not be obtained, so it must be read
again. Part (a) in figure 14.3 shows the method of reading the time without using interrupts; part
(b) in figure 14.3 shows the method using carry interrupts. To keep programming simple, method
(a) should normally be used.
Rev. 3.00 Sep. 28, 2009 Page 716 of 1650
REJ09B0313-0300
Reading Time
Yes
Yes
(a) To read the time without using interrupts
(b) To read the time using interrupts
Disable the carry interrupt
Disable the carry interrupt
Enable the carry interrupt
Read counter register
Read counter register
Clear the carry flag
Clear the carry flag
Clear the carry flag
Carry flag = 1?
interrupt
Figure 14.3 Reading Time
No
No
Write 0 to CIE in RCR1
Write 0 to CF in RCR1
(Set AF in RCR1 to 1 so that alarm
Read RCR1 and check CF bit
Write 0 to CF in RCR1
(Set AF in RCR1 to 1 so that alarm
Write 0 to CIE in RCR1
Write 1 to CIE in RCR1
flag is not cleared.)
flag is not cleared.)

Related parts for R0K572030S000BE