Get_RTC_Time
Purpose : Returns the RTC time within a structure.
C:struct GetTime_T { unsigned int hours; unsigned int min;
unsigned int seconds; unsigned int h_seconds;
};
int Get_RTC_Time(GetTime_T far *gt);
Pascal : TYPE GetTime_T = RECORD hours: WORD;
min: WORD;
seconds: WORD;
h_seconds: WORD; END;
TYPE GetTime_Ptr = ^GetTime_T;
FUNCTION Get_RTC_Time(time: GetTime_Ptr):
WORD;
BASIC: TYPE GetTimeT hours AS INTEGER min AS INTEGER seconds AS INTEGER hseconds AS INTEGER
END TYPE
FUNCTION GetRTCTime%(BYVAL Offs AS INTEGER, BYVAL Segm AS INTEGER)
Remarks: Get_RTC_Time requires a far pointer to the GetTime_T structure to be past as the argument.
Returns: The GetTime_T structure with the appropriate values.
Example: See below.
8 | Documentation Number PCRTC2095 Manual |
B&B Electronics | PO Box 1040 |
PH (815)