home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / cplus / 13404 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  851 b 

  1. Path: sparky!uunet!utcsri!torn!utzoo!dciem!dlabonte
  2. From: dlabonte@dciem.dciem.dnd.ca (Daniel Labonte)
  3. Newsgroups: comp.lang.c++
  4. Subject: Serial port access
  5. Message-ID: <6298@dciem.dciem.dnd.ca>
  6. Date: 8 Sep 92 21:08:45 GMT
  7. Distribution: ont
  8. Organization: Defence and Civil Institute of Environmental Medicine
  9. Lines: 14
  10.  
  11. I am writing some code to interface a device connected to a
  12. serial port at a transfer rate of 19200 bauds. 
  13.  
  14. The problem is that the documentation I have on serial ports indicates
  15. that the maximum transfer rate is 9600 baud (PC intern from Abacus).
  16. This is done by setting bits 5-7 of the AL register.
  17.  
  18. Can someone tell me how to set the baud rate to 19200 ?  
  19. Is the AL register redefined so that the new definition (ie bit 5-7 
  20. set high) corresponds to 19200 baud transfer rate ?
  21.  
  22. Thanks in advance
  23. dlabonte@dretor.dciem.dnd.ca
  24.  
  25.