Disable Rtc Alarm [+]; Get Rtc Alarm Time [+] - Husky MP2500 Manual

Hide thumbs Also See for MP2500:
Table of Contents

Advertisement

Disable RTC alarm [+]

Entry
Exit
Description

Get RTC alarm time [+]

Entry
Exit
Description
Chapter 30: INT 1AH, Clock Handler [+]
When the RTC time reaches the alarm time, an alarm
event is generated (if that event is enabled) and
MP2500 will power up (if powered down).
You can disable the alarm by using function 7. Note
that if the alarm is disabled, setting the alarm with
function 6 re-enables it.
For more details of events, see INT 15H functions
6DH..6FH.
AH=07H
Preserves all registers
This function disables the RTC alarm so it does not
operate ie does not power up MP2500 or cause the
alarm event.
The default is for the alarm to be enabled. This default
is restored on a cold start.
AH=09H
CH=hour
CL=minute
DH=second
DL=0 (not enabled) or DL=1 (enabled)
CF=0 (RTC operating) or CF=1 (RTC not operating)
If the RTC is operating, CF=0 and CH, CL and DH
indicate the alarm time, as BCD digits, while DL
indicates if the alarm is enabled (see function 7).
289

Advertisement

Table of Contents
loading

Table of Contents