Bb-electronics PCRTC User Manual Page 9

  • Download
  • Add to my manuals
  • Print
  • Page
    / 17
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 8
Documentation Number PCRTC2095 Manual 7
B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350
PH (815) 433-5100 -- FAX (815) 433-5105
Start_RTC_API
Purpose: Initializes API, must be the first PCRTC function called
in the program.
C: int Start_RTC_API(unsigned int address);
Pascal: FUNCTION Start_RTC_API(address: WORD): WORD;
BASIC: FUNCTION StartRTCAPI% (BYVAL address AS
INTEGER)
Remarks: Start_RTC_API takes the address at which the PCRTC
is installed at. The device driver must be installed.
Returns: 0 = device driver is not installed.
non zero = address of PCRTC.
Example: See below.
Battery_RTC
Purpose: Check battery status of PCRTC
C: int Battery_RTC(void);
Pascal: FUNCTION Battery_RTC: WORD;
BASIC: FUNCTION BatteryRTC%
Returns: 1 if battery is good
0 if battery is low
Example: See below.
Page view 8
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17

Comments to this Manuals

No comments