home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / mac / programm / 14729 < prev    next >
Encoding:
Text File  |  1992-08-29  |  1.4 KB  |  38 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!caen!via.dsf4.merit.edu!Mike.Alexander
  3. From: Mike Alexander <Mike.Alexander@umich.edu>
  4. Subject: Re: Reading Serial GPi line
  5. Message-ID: <MXk-wTA@engin.umich.edu>
  6. Date: Sat, 29 Aug 92 15:23:30 EDT
  7. Organization: University of Michigan, ITD-Research Systems
  8. X-Useragent: Nuntius v1.1.1d9
  9. X-Xxmessage-Id: <A6C5467B76042103@via.dsf4.merit.edu>
  10. X-Xxdate: Sat, 29 Aug 92 20:21:31 GMT
  11. References: <BtC4q0.tC@iat.holonet.net>
  12. Nntp-Posting-Host: via.dsf4.merit.edu
  13. Lines: 23
  14.  
  15. In article <BtC4q0.tC@iat.holonet.net> Allen J. Curtis,
  16. ajcurtis@iat.holonet.net writes:
  17. >    I am interfacing a piece of hardware to the MAC via the serial
  18. >port.  The hardware communicates back to the computer via the GPi
  19. line.
  20. >
  21. >According the the documentation in the Hardware Technical reference
  22. manual
  23. >this line is connected to Data Carrier Detect (DCD) and can be polled
  24. with
  25. >software.  However, I can not find the method of polling this field
  26. in any
  27. >of the documentation or the header files which define the serial
  28. status
  29. >information.  
  30.  
  31. See Tech Note 286.  It goes into this subject in fair detail. 
  32. Although I haven't actually had to do this, it doesn't look too hard,
  33. especially if all you want to do is read the value of GPi.
  34.  
  35. Mike Alexander              Internet:       Mike.Alexander@umich.edu
  36. University of Michigan      America Online: MAlexander
  37. ITD - Research Systems      AppleLink:      UMICH
  38.