5. Sample Application Specifications
S5U1C17602T1100 Software Manual
EPSON
17
5.3.6 UC23:
Advance
time
--- Basic information ---
ID UC23
Title Advance
time
Actors CT
Overview Advances
the
time held internally.
Pre-conditions
A CT 1 Hz interrupt has occurred.
Post-conditions
Awaits CT 1 Hz interrupt.
--- Basic flow ---
1
The CT issues a 1 Hz interrupt.
2
The system advances the time held internally.
Seconds: Advanced in the sequence 00
→
01
→
02…
→
59. After 59, reverts to 00 and increments the minutes count by 1.
Minutes: Advanced in the sequence 00
→
01
→
02…
→
59. After 59, reverts to 00 and increments the hours count by 1.
Hours: Advanced in the sequence 00
→
01
→
02…
→
23. After 23, reverts to 00.
3
The system clears the 1 Hz interrupt and awaits the next 1 Hz interrupt.
--- Remarks ---
An 8 Hz interrupt is also used for rotary SW.