Year Counter (Yrcnt); Alarm Register; Second Alarm Register (Secar); Minute Alarm Register (Minar) - Renesas SH7727 General Information Manual

T-engine development kit, hardware volume
Table of Contents

Advertisement

R0P7727TH003TRKE General Information Manual

6.3.9 Year Counter (YRCNT)

Address: 0x0008 Initial value: 0xXX (Not defined)
D7
D6
10 years
R/W
R/W
The counter value is a BCD (Binary Coded Decimal) value. Counting takes place within a range from 0 to 99.
In this range, 00, 04, ..., 92 and 96 are leap years.
6.3.10

Alarm Register

Each alarm register corresponds to the relevant counter as shown below.
If the AR bit (D7) of each alarm is set to "1," counters will be compared with alarm registers. This comparison
is performed only for alarm registers with the AR bit (D7) set to "1" and an alarm interrupt is generated only at
correct correspondence.
• Correspondence between the alarm registers and counters
Second alarm register (BCD code): second counter
Minute alarm register (BCD code): minute counter
Hour alarm register (BCD code): Hour counter
Day-of-the-week alarm register (0x00 to 0x07): Day-of-the-week counter
Day alarm register (BCD code): Day counter
Month alarm register (BCD code): Month counter
6.3.11

Second Alarm Register (SECAR)

Address: 0x0009 Initial value: 0x00
D7
D6
AR
R/W
R/W
The alarm value must be a BCD (Binary Coded Decimal) code between 00 and 59.
6.3.12

Minute Alarm Register (MINAR)

Address: 0x000A Initial value: 0x00
D7
D6
AR
R/W
R/W
The alarm value must be a BCD (Binary Coded Decimal) code between 00 and 59.
D5
D4
R/W
R/W
D5
D4
10 seconds
R/W
R/W
D5
D4
10 minutes
R/W
R/W
D3
D2
D1
1 year
R/W
R/W
R/W
D3
D2
D1
1 second
R/W
R/W
R/W
D3
D2
D1
1 minute
R/W
R/W
R/W
54
Power Supply Controller
D0
R/W
D0
R/W
D0
R/W

Advertisement

Table of Contents
loading

Table of Contents