EasyManuals Logo

Renesas RL78/G1H User Manual

Renesas RL78/G1H
941 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #262 background imageLoading...
Page #262 background image
RL78/G1H CHAPTER 9 REAL-TIME CLOCK
R01UH0575EJ0120 Rev. 1.20 Page 244 of 920
Dec 22, 2016
9.3.5 Second count register (SEC)
The SEC register is an 8-bit register that takes a value of 0 to 59 (decimal) and indicates the count value of
seconds.
It counts up when the internal counter (16-bit) overflows.
When data is written to this register, it is written to a buffer and then to the counter up to two cycles of f
RTC later.
Set a decimal value of 00 to 59 to this register in BCD code.
The SEC register can be set by an 8-bit memory manipulation instruction.
Reset signal generation clears this register to 00H.
Figure 9 - 7 Format of Second count register (SEC)
Caution When it reads or writes from/to the register while the counter is in operation (RTCE = 1), follow the
procedures described in the section 9.4.3 Reading/writing real-time clock.
Remark
The internal counter (16 bits) is cleared when the second count register (SEC) is written.
9.3.6 Minute count register (MIN)
The MIN register is an 8-bit register that takes a value of 0 to 59 (decimal) and indicates the count value of
minutes.
It counts up when the second counter overflows.
When data is written to this register, it is written to a buffer and then to the counter up to two cycles of f
RTC later.
Even if the second count register overflows while this register is being written, this register ignores the overflow
and is set to the value written. Set a decimal value of 00 to 59 to this register in BCD code.
The MIN register can be set by an 8-bit memory manipulation instruction.
Reset signal generation clears this register to 00H.
Figure 9 - 8 Format of Minute count register (MIN)
Caution When it reads or writes from/to the register while the counter is in operation (RTCE = 1), follow the
procedures described in the section 9.4.3 Reading/writing real-time clock.
Address: FFF92H After reset: 00H R/W
Symbol76543210
SEC 0 SEC40 SEC20 SEC10 SEC8 SEC4 SEC2 SEC1
Address: FFF93H After reset: 00H R/W
Symbol76543210
MIN 0 MIN40 MIN20 MIN10 MIN8 MIN4 MIN2 MIN1

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Renesas RL78/G1H and is the answer not in the manual?

Renesas RL78/G1H Specifications

General IconGeneral
BrandRenesas
ModelRL78/G1H
CategoryMicrocontrollers
LanguageEnglish

Related product manuals