home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / mac / programm / 14315 < prev    next >
Encoding:
Text File  |  1992-08-21  |  952 b   |  23 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!sdd.hp.com!elroy.jpl.nasa.gov!ames!agate!iat.holonet.net!ajcurtis
  3. From: ajcurtis@iat.holonet.net (Allen J. Curtis)
  4. Subject: Reading Serial GPi line
  5. Message-ID: <BtC4q0.tC@iat.holonet.net>
  6. Organization: HoloNet (BBS: 510-704-1058)
  7. Date: Fri, 21 Aug 1992 13:13:11 GMT
  8. Lines: 13
  9.  
  10.     I am interfacing a piece of hardware to the MAC via the serial
  11. port.  The hardware communicates back to the computer via the GPi line.
  12.  
  13. According the the documentation in the Hardware Technical reference manual
  14. this line is connected to Data Carrier Detect (DCD) and can be polled with
  15. software.  However, I can not find the method of polling this field in any
  16. of the documentation or the header files which define the serial status
  17. information.  
  18.  
  19.     Has anyone done this?  A simple description or sample code would
  20. be greatly appreciated!
  21.  
  22. Thank for the Help in Advance....
  23.