Hitachi SH7760 Solution Engine2 Overview page 65

Table of Contents

Advertisement

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
D7
D6
AR
10 seconds
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
10 minutes
R/W
R/W
The alarm value must be a BCD (Binary Coded Decimal) code between 00 and 59.
Initial value: 0x00
D5
D4
R/W
R/W
D5
D4
R/W
R/W
D3
D2
1 second
R/W
R/W
R/W
D3
D2
1 minute
R/W
R/W
R/W
62
D1
D0
R/W
D1
D0
R/W

Advertisement

Table of Contents
loading

Table of Contents