亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? pcl4c.ref

?? C語言通訊程序庫DOS版,支持10個115200波特率的通訊口
?? REF
?? 第 1 頁 / 共 5 頁
字號:


                          Personal Communications Library

                                For the C Language


                                    (PCL4C)



                               REFERENCE MANUAL





                                  Version  4.0

                                  Oct 18, 1993




                        This software is provided as-is.
                 There are no warranties, expressed or implied.




                              Copyright (C) 1993
                              All rights reserved



                              MarshallSoft Computing, Inc.
                              Post Office Box 4543
                              Huntsville AL 35815

                              Voice 205-881-4630
                              FAX   205-881-4630
                              BBS   205-880-9748

















        PCL4C Reference Manual                                 Page 1
                               C O N T E N T S



              Chapter                                     Page

              Table of Contents.............................2
              Introduction..................................3
                 SioBaud....................................4
                 SioBrkKey..................................5
                 SioBrkSig..................................6
                 SioCrtWrite................................7
                 SioCTS.....................................8
                 SioDCD.....................................9
                 SioDelay..................................10
                 SioDone...................................11
                 SioDSR....................................12
                 SioDTR....................................13
                 SioError..................................14
                 SioFIFO...................................15
                 SioFlow...................................16
                 SioGetc...................................17
                 SioKeyPress...............................18
                 SioKeyRead................................19
                 SioInfo...................................20
                 SioIRQ....................................21
                 SioLine...................................22
                 SioLoopBack...............................23
                 SioModem..................................24
                 SioParms..................................25
                 SioPorts..................................26
                 SioPutc...................................27
                 SioRead...................................28
                 SioReset..................................29
                 SioRI.....................................30
                 SioRTS....................................31
                 SioRxBuf..................................32
                 SioRxFlush................................33
                 SioRxQue..................................34
                 SioTimer..................................35
                 SioTxBuf..................................36
                 SioTxFlush................................37
                 SioTxQue..................................38
                 SioUART...................................39
                 SioUnGetc.................................40
              Function Summary.............................41
              Error Code Summary...........................42












        PCL4C Reference Manual                                 Page 2
                                  Introduction



         This manual lists all of the PCL4C functions in alphabetical
         order. Every library function will return a value as follows:

         1.  Negative values for error conditions. See last page of this
         manual for a list of error values and their meanings.

         2.  Non-negative values when returning data (eg: SioLine).

         3.  Zero otherwise.

         When debugging an application, be sure to test all return values.
         Use SioError to print the associated text for errors.

         Example Code Segment


         *****************************************************************
         * int Code;                 /* MUST be 'int', not 'char' */     *
         *                                                               *
         * Code = SioFunction( );    /* any PCL4C function */            *
         * if(Code<0)                                                    *
         *   {/* error returned */                                       *
         *    SioError(Code);        /* SioError prints error text */    *
         *    SioDone(Port);         /* always call SioDone last */      *
         *    exit(1);                                                   *
         *   }                                                           *
         * /* no errors */                                               *
         * ...your application code...                                   *
         *                                                               *
         *****************************************************************


         For  more  examples, examine each of the example programs provided
         (SIMPLE.C and TERM.C). Also look at the examples  associated  with
         each library function described in the following section.

         Also  note  that  there  are  two versions of the library for each
         memory model. One version is with transmitter interrupts  disabled
         and one with them enabled.

         Refer to the User's Manual (PCL4C.USR) for addition information.














        PCL4C Reference Manual                                 Page 3
                                  SioBaud



         Function    Sets the baud rate of the selected port.

           Syntax    int SioBaud(Port,BaudCode)
                     int Port;     /* Port selected (COM1 - COM4) */
                     int BaudCode; /* Baud code */


          Remarks    The  SioBaud  function  sets  the  baud  rate  without
                     resetting the port. It is used to change the baud rate
                     after calling SioReset.

                     Baud Code           Baud Rate       PCL4C.H Name
                          0                 300            Baud300
                          1                 600            Baud600
                          2                1200            Baud1200
                          3                2400            Baud2400
                          4                4800            Baud4800
                          5                9600            Baud9600
                          6               19200            Baud19200
                          7               38400            Baud38400
                          8               57600            Baud57600
                          9              115200            Baud115200


          Returns     -4 : No such port. Expect 0 to MaxPort.
                     -11 : Bad baud rate code. See above code values.

          Example    /* verify 2400 baud connection */
                     if(WaitFor(Port,"CONNECT") )
                       {/* expect "2400" */
                        if(WaitFor(Port,"2400")
                          {/* 2400 baud connection made */
                           ...
                          }
                       }

         See Also    SioReset


















        PCL4C Reference Manual                                 Page 4
                                  SioBrkKey



         Function    Return non-zero if the Control-BREAK key was pressed.

           Syntax    int SioBrkKey()

          Remarks    The SioBrkKey function  returns  a  TRUE  value  (non-
                     zero)  if  the  Control-BREAK key was pressed, else it
                     returns a zero. Use SioBrkKey as a safety exit from  a
                     polling   loop.   Don't  mix  this  function  up  with
                     SioBrkSig.

          Returns    -1 : Control-BREAK was pressed.
                      0 : Control-BREAK was NOT pressed.

          Example    int c;
                     ...
                     while(1)
                       {/* exit if user pressed Control-BREAK */
                        if(SioBrkKey())
                          {puts("User typed Contrl-BREAK");
                           SioDone(Port);
                           exit(1);
                          }
                        /* transmit any typed character */
                        if(SioKeyPress())
                          {c = SioKeyRead();
                           SioPutc(Port,c);
                          }
                        /* display any incoming character */
                        c = SioGetc(Port,0);
                        if(c!=-1)  SioCrtWrite(c);
                       }

         See Also    SioBrkSig






















        PCL4C Reference Manual                                 Page 5
                                  SioBrkSig



         Function    Asserts, cancels, or detects BREAK signal.

           Syntax    int SioBrkSig(Port,Cmd)
                     int Port;      /* Port selected (COM1 thru COM4) */
                     char Cmd;      /* ASSERT, CANCEL, or DETECT */

          Remarks    The SioBrkSig function controls the BREAK bit  in  the
                     line status register. The legal commands are:

                     ASSERT_BREAK ('A') to assert BREAK
                     CANCEL_BREAK ('C') to cancel BREAK
                     DETECT_BREAK ('D') to detect BREAK

                     ASSERT_BREAK,   CANCEL_BREAK,   and  DETECT_BREAK  are
                     defined in PCL4C.H. See TERM.C for an example  of  the
                     use of SioBrkSig.

          Returns    -2 : Port not enabled. Call SioReset first.
                     -4 : No such port. Expect 0 to MaxPort.
                     -6 : Illegal command. Expected 'A', 'C', or 'D'.
                     >0 : BREAK signal detected (DETECT command only)

          Example    /* Assert BREAK for 1 second */
                     SioBrkSig(Port,ASSERT_BREAK);
                     SioDelay(18);
                     SioBrkSig(Port,CANCEL_BREAK);
                     /* Detect BREAK */
                     if(SioBrkSig(Port,DETECT_BREAK))
                       {puts("BREAK signal detected");
                        /* ...do some more stuff... */
                       }

         See Also    SioBrkKey






















        PCL4C Reference Manual                                 Page 6
                                  SioCrtWrite



         Function    Write character to the screen.

           Syntax    int SioCrtWrite(ch)
                     char ch;        /* character to write */

          Remarks    The  SioCrtWrite  function  uses  the  BIOS to write a
                     single character to the screen at the  current  cursor
                     location.

                     SioCrtWrite   calls  the  BIOS  directly  without  any
                     intermediate buffering or processing.  It  is  usually
                     faster than a call to the C library.

          Returns    zero

          Example    /* wait up to 1 second (18 tics) for character */
                     if( (c = SioGetc(COM1,18)) != -1)
                       {/* echo to screen */
                        SioCrtWrite(c);
                       }

         See Also    SioKeyPress and SioKeyRead

































        PCL4C Reference Manual                                 Page 7
                                  SioCTS



         Function    Reads the Clear to Send (CTS) modem status bit.

           Syntax    int SioCTS(Port)
                     int Port;   /* Port selected (COM1 thru COM4) */

          Remarks    The  SioCTS function is used to read the Clear to Send
                     (CTS) modem status bit.

                     The  CTS  line is used by some error correcting modems
                     to implement hardware flow control.  CTS is dropped by
                     the modem to signal the computer not to send data, and
                     is raised to signal the computer to continue.

                     Refer to the User's Manual for a  discussion  of  flow
                     control.

          Returns    -2 : Port not enabled. Call SioReset first.
                     -4 : No such port.  Expect 0 to MaxPort.
                      0 : CTS is clear.
                     >0 : CTS is set.

          Example   /* wait for CTS to go active */
                     while(1)
                       {if(SioCTS(Port)) break;
                        if(SioBrkKey())
                           {puts("Aborted by user");
                            SioDone(Port);
                            exit(1);
                           }
                       }
                     /* now we can send the character */
                     SioPutc(Port,ch);

         See Also    SioFlow, SioDSR, SioRI, SioDCD, and SioModem.














?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品天天看| 极品少妇xxxx偷拍精品少妇| 国产精品456| 久久美女高清视频| 国产盗摄视频一区二区三区| 日韩一区二区三免费高清| 日本一不卡视频| xnxx国产精品| 丰满少妇在线播放bd日韩电影| 久久久午夜电影| 国产成人一级电影| 亚洲欧洲成人av每日更新| 欧美三级中文字| 另类小说一区二区三区| 久久久亚洲精华液精华液精华液| 国产91在线观看| 一区二区三区在线视频观看58| 欧美日韩亚州综合| 韩国午夜理伦三级不卡影院| 欧美国产精品一区| 欧美影片第一页| 精品亚洲国产成人av制服丝袜| 天涯成人国产亚洲精品一区av| 欧美日本韩国一区二区三区视频| 日本三级亚洲精品| 国产精品色婷婷| 欧美三级电影网| 久久精品99久久久| 亚洲日本va午夜在线电影| 欧美日韩国产免费一区二区| 久久国产精品免费| 亚洲人成网站影音先锋播放| 91成人看片片| 国产麻豆成人精品| 亚洲777理论| 国产蜜臀av在线一区二区三区| 91福利在线看| 国产伦精品一区二区三区免费| 日韩一区欧美小说| 欧美va在线播放| 色屁屁一区二区| 国产乱码字幕精品高清av| 国产精品久久毛片av大全日韩| 91精品国产91久久久久久最新毛片| 国产激情一区二区三区| 色就色 综合激情| 中文字幕 久热精品 视频在线| 免费观看在线色综合| 欧美日韩一区二区电影| 亚洲精品高清在线观看| 91免费观看视频在线| 1024国产精品| 欧美午夜精品电影| 日av在线不卡| 中文字幕一区二区三区av| 不卡av电影在线播放| 亚洲综合色区另类av| 在线电影院国产精品| 久久精品国产999大香线蕉| 欧美一区二区在线播放| 精品制服美女丁香| 色综合激情五月| 国产尤物一区二区| 日韩久久精品一区| 亚洲第一激情av| 91精品视频网| 欧美性色黄大片| 精品久久国产老人久久综合| 久久久久国产精品人| 久久se精品一区二区| 一区二区激情视频| 国产精品入口麻豆九色| 2020日本不卡一区二区视频| 欧美精品久久天天躁| 欧洲另类一二三四区| 高清久久久久久| 成人午夜伦理影院| 美女在线视频一区| 精品系列免费在线观看| 国精产品一区一区三区mba桃花| 日本中文字幕一区二区视频| 水野朝阳av一区二区三区| 午夜激情一区二区三区| 亚洲欧美日韩国产手机在线| 国产精品福利在线播放| 国产精品毛片高清在线完整版| 日韩精品一区二区三区视频播放| 精品国内片67194| 久久久亚洲精华液精华液精华液| 精品成a人在线观看| 欧美videos大乳护士334| 精品国产乱码久久久久久久久| 日韩精品一区二区三区在线播放| 日韩欧美综合一区| 久久人人超碰精品| 午夜精品久久久久久久99水蜜桃| 伊人开心综合网| 亚洲va国产天堂va久久en| 日本vs亚洲vs韩国一区三区| 激情综合网av| 成人av网站免费| 欧美日韩中文字幕一区二区| 51精品秘密在线观看| 亚洲精品在线观| 亚洲精品v日韩精品| 亚洲成av人片一区二区| 久久精品国产99国产精品| 国产成人精品免费视频网站| 色成年激情久久综合| 91精品午夜视频| 国产午夜精品在线观看| 亚洲欧美日韩在线| 五月综合激情网| 国内精品免费在线观看| 成人中文字幕电影| 色94色欧美sute亚洲线路二| 欧美日韩大陆一区二区| 精品国一区二区三区| 国产精品成人一区二区艾草 | 国产精品一区在线观看你懂的| 国产一区二区在线免费观看| 成人国产在线观看| 欧美在线不卡一区| 日韩午夜激情av| 中文字幕第一区第二区| 亚洲成人一二三| 九一久久久久久| 91蜜桃免费观看视频| 欧美丰满高潮xxxx喷水动漫| 久久久久久99久久久精品网站| 中文字幕中文在线不卡住| 亚洲大型综合色站| 国产乱码精品一区二区三区忘忧草 | 91精品国产福利| 国产精品国产精品国产专区不片| 亚洲国产一区在线观看| 国产成a人亚洲| 在线电影院国产精品| 国产精品丝袜久久久久久app| 一区二区三区在线视频观看| 裸体一区二区三区| 色综合网站在线| 亚洲欧美在线视频观看| 激情欧美一区二区三区在线观看| 成人av网址在线观看| 久久久久久久综合色一本| 天天综合日日夜夜精品| 91毛片在线观看| 玉米视频成人免费看| 色美美综合视频| 亚洲成人激情综合网| 在线观看精品一区| 亚洲高清一区二区三区| 在线精品亚洲一区二区不卡| 国产精品久久久久四虎| 91色在线porny| 亚洲一二三区不卡| 欧美日韩久久久| 天堂av在线一区| 欧美一级日韩免费不卡| 国产一区二区不卡在线| 欧美一区二区三区在线观看| 国产一区免费电影| 欧美另类高清zo欧美| 国产精品私人影院| 99国产一区二区三精品乱码| 久久综合狠狠综合久久综合88| www.亚洲激情.com| 在线观看不卡一区| 在线看国产日韩| 精一区二区三区| 日韩午夜在线播放| 免费一区二区视频| 91国产福利在线| 国产精品久久久久久久久果冻传媒| 轻轻草成人在线| 91精品国产综合久久福利| 蜜桃视频在线观看一区| 日本韩国欧美在线| 1024成人网| 91浏览器入口在线观看| 中文字幕在线播放不卡一区| 国产成人精品一区二区三区四区| 久久久一区二区| 国产一区二区美女| 精品日韩欧美在线| 国内精品国产成人| 久久蜜臀精品av| 大胆亚洲人体视频| 国产日韩欧美在线一区| 国产福利91精品一区二区三区| 国产精品免费网站在线观看| 97久久超碰国产精品| 亚洲综合无码一区二区| 欧美一区二区三区在线视频| 国产在线精品一区二区不卡了| 亚洲国产精品av| 在线观看视频一区二区欧美日韩| 日韩高清不卡一区二区三区| 久久丝袜美腿综合|