Get Rtc Date [+]; Set Rtc Date [+]; Set Rtc Alarm [+] - Husky MP2500 Manual

Hide thumbs Also See for MP2500:
Table of Contents

Advertisement

Get RTC date [+]

Entry
Exit
Description

Set RTC date [+]

Entry
Exit
Description

Set RTC alarm [+]

Entry
Exit
Description
288
AH=04H
CH=century
CL=year
DH=month
DL=day
CF=0 (RTC operating) or CF=1 (RTC not operating)
If the RTC is operating, CF=0 and CH, CL, DH and DL
indicate the date, as BCD digits.
AH=05H
CH=century
CL=year
DH=month
DL=day
CF=0 (RTC operating) or CF=1 (RTC not operating)
Sets the date according to CH, CL, DH and DL
(interpreted as BCD digits).
AH=06H
CH=hour
CL=minute
DH=second
CF=0 (RTC operating) or CF=1 (RTC not operating)
Sets the RTC alarm to the time specified by CH, CL
and DH (interpreted as BCD digits).
H
MP2500 System Developer's Guide
USKY

Advertisement

Table of Contents
loading

Table of Contents