B&B Electronics PCRTC Owner's Manual

Manual is about: Stable Real Time Clock for PCs

Summary of PCRTC

  • Page 1

    Documentation number pcrtc2095 manual cover page b&b electronics -- po box 1040 -- ottawa, il 61350 ph (815) 433-5100 -- fax (815) 433-5105 stable real time clock for pcs model pcrtc documentation number pcrtc2095 this product designed and manufactured in ottawa, illinois usa of domestic and importe...

  • Page 2: Table Of Contents

    Documentation number pcrtc2095 manual table of contents i b&b electronics -- po box 1040 -- ottawa, il 61350 ph (815) 433-5100 -- fax (815) 433-5105 table of contents chapter 1. General information ....................................1 i ntroduction .....................................................

  • Page 3

    Documentation number pcrtc2095 manual 1 b&b electronics -- po box 1040 -- ottawa, il 61350 ph (815) 433-5100 -- fax (815) 433-5105 chapter 1. General information introduction the pcrtc is real time clock for pcs based on a highly stable oscillator circuit. Using the software driver provided, the pcr...

  • Page 4: Chapter 2. Setup

    2 documentation number pcrtc2095 manual b&b electronics -- po box 1040 -- ottawa, il 61350 ph (815) 433-5100 -- fax (815) 433-5105 chapter 2. Setup hardware setup the address switch on the pcrtc must be set to an address which doesn’t conflict with other devices in the host computer. The address set...

  • Page 5

    Documentation number pcrtc2095 manual 3 b&b electronics -- po box 1040 -- ottawa, il 61350 ph (815) 433-5100 -- fax (815) 433-5105 hardware installation 1. Shut the host computer power off. 2. Remove the computer cover. 3. Remove the expansion slot cover of an unused slot. 4. Handle the pcrtc only b...

  • Page 6: Chapter 3. Operation

    4 documentation number pcrtc2095 manual b&b electronics -- po box 1040 -- ottawa, il 61350 ph (815) 433-5100 -- fax (815) 433-5105 chapter 3. Operation overview the most common application of the pcrtc is to simply maintain the correct time on the host computer. Loading the device driver in the conf...

  • Page 7

    Documentation number pcrtc2095 manual 5 b&b electronics -- po box 1040 -- ottawa, il 61350 ph (815) 433-5100 -- fax (815) 433-5105 pcrtc v1.00, (c) copyright 1995, b&b electronics mfg. Co. Pcrtc address: 200h battery status: good if this message appears, the driver has been installed and is running....

  • Page 8

    6 documentation number pcrtc2095 manual b&b electronics -- po box 1040 -- ottawa, il 61350 ph (815) 433-5100 -- fax (815) 433-5105 the best method of updating the pcrtc time is to use the shareware program timeset. Note that although this program is included on the pcrtc diskette, it is shareware an...

  • Page 9

    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_ap...

  • Page 10

    8 documentation number pcrtc2095 manual b&b electronics -- po box 1040 -- ottawa, il 61350 ph (815) 433-5100 -- fax (815) 433-5105 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;...

  • Page 11

    Documentation number pcrtc2095 manual 9 b&b electronics -- po box 1040 -- ottawa, il 61350 ph (815) 433-5100 -- fax (815) 433-5105 last_power_down_rtc purpose: returns date and time of last power down within a structure. C: struct timesave_t { unsigned int month; unsigned int day; unsigned int hour;...

  • Page 12

    10 documentation number pcrtc2095 manual b&b electronics -- po box 1040 -- ottawa, il 61350 ph (815) 433-5100 -- fax (815) 433-5105 quickbasic example: '$include: 'rtc_api.Bi' ‘must be first executed statement in your program dim times as timesavet ‘define variable structure dim time as gettimet add...

  • Page 13

    Documentation number pcrtc2095 manual 11 b&b electronics -- po box 1040 -- ottawa, il 61350 ph (815) 433-5100 -- fax (815) 433-5105 c programming example #include #include "rtc_api.H" void main() { timesave_t *ts = (timesave_t *) malloc(sizeof(timesave_t)); gettime_t *time = (gettime_t *) malloc(siz...

  • Page 14

    12 documentation number pcrtc2095 manual b&b electronics -- po box 1040 -- ottawa, il 61350 ph (815) 433-5100 -- fax (815) 433-5105 chapter 4. Calculating error ppm terminology the unit ppm (parts per million) provides a number similar to error expressed with percentages, but reduces the number of d...

  • Page 15

    Documentation number pcrtc2095 manual 13 b&b electronics -- po box 1040 -- ottawa, il 61350 ph (815) 433-5100 -- fax (815) 433-5105 aging all crystal oscillators have an aging characteristic. The crystal used in the pcrtc uses the coldweld manufacturing technique, which exhibits the lowest aging cha...

  • Page 16

    14 documentation number pcrtc2095 manual b&b electronics -- po box 1040 -- ottawa, il 61350 ph (815) 433-5100 -- fax (815) 433-5105 appendix a. Hardware i/o map i/o map of xt class machines hex address address function in xt class machines 000-00f dma controller (8237a) 020-021 interrupt controller ...

  • Page 17

    Documentation number pcrtc2095 manual 15 b&b electronics -- po box 1040 -- ottawa, il 61350 ph (815) 433-5100 -- fax (815) 433-5105 hardware i/o map of at class machines hex address address function in at class machines 000-01f dma controller #1 (8237a-5) 020-03f interrupt controller #1 (8259a) 040-...