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

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專(zhuān)輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? pcl4c.ref

?? C語(yǔ)言通訊程序庫(kù)DOS版,支持10個(gè)115200波特率的通訊口
?? REF
?? 第 1 頁(yè) / 共 5 頁(yè)
字號(hào):


                          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.














?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人sese在线| 欧美亚洲动漫精品| 激情综合色综合久久综合| 五月天激情综合网| 亚洲v中文字幕| 石原莉奈在线亚洲二区| 亚洲韩国精品一区| 亚洲国产中文字幕在线视频综合 | 五月激情综合网| 亚洲综合男人的天堂| 亚洲第一综合色| 偷拍日韩校园综合在线| 日日噜噜夜夜狠狠视频欧美人| 亚洲bt欧美bt精品| 日本亚洲一区二区| 麻豆国产精品视频| 国产精品中文字幕日韩精品| 国产91在线看| 91视视频在线直接观看在线看网页在线看| av亚洲精华国产精华| 色88888久久久久久影院按摩 | 欧美成人猛片aaaaaaa| 欧美草草影院在线视频| 久久免费偷拍视频| 最新不卡av在线| 夜夜嗨av一区二区三区| 天天影视色香欲综合网老头| 麻豆中文一区二区| 国产91精品入口| 在线观看日韩精品| 欧美一区二区三区四区高清| www精品美女久久久tv| 中文子幕无线码一区tr| 亚洲精品中文字幕乱码三区| 日本韩国欧美国产| 国产欧美精品在线观看| 精品久久久影院| 亚洲国产成人私人影院tom| 亚洲乱码国产乱码精品精可以看| 亚洲mv在线观看| 国产一区二区三区香蕉 | 欧美日韩一级片网站| 欧美一区二区三区免费观看视频| 久久久久综合网| 亚洲精品综合在线| 91网址在线看| 欧美一区二区免费观在线| 久久久精品日韩欧美| 亚洲精品视频在线观看网站| 免费黄网站欧美| 99久久久久久| 欧美成人aa大片| 亚洲一区精品在线| 国产精品一区在线| 日本精品一区二区三区四区的功能| 日韩欧美亚洲另类制服综合在线| 国产精品亲子乱子伦xxxx裸| 日韩福利视频网| 99久久久久免费精品国产| 日韩一级免费观看| 亚洲男帅同性gay1069| 激情综合亚洲精品| 欧美日韩另类国产亚洲欧美一级| 国产网站一区二区| 免费的国产精品| 在线观看日韩高清av| 欧美国产综合一区二区| 免费人成网站在线观看欧美高清| 91免费观看视频| 国产亚洲美州欧州综合国| 视频一区二区三区中文字幕| 97精品超碰一区二区三区| 精品乱人伦小说| 午夜精品久久久久久久久 | 国产欧美一区二区精品仙草咪| 亚洲国产欧美在线| 99久久er热在这里只有精品15| 精品国产一二三| 丝袜亚洲另类欧美| 在线免费观看成人短视频| 国产清纯在线一区二区www| 久久精品国产免费| 欧美精品久久久久久久多人混战 | 久久国产精品99精品国产| 欧美午夜免费电影| 亚洲欧洲99久久| 成人综合日日夜夜| 久久免费的精品国产v∧| 日本一道高清亚洲日美韩| 欧美日韩久久一区二区| 亚洲精品乱码久久久久久久久 | 日本强好片久久久久久aaa| 欧美丝袜丝交足nylons| 亚洲男帅同性gay1069| 高清不卡在线观看| 国产欧美日韩综合| 国产成人久久精品77777最新版本| 日韩精品一区二区三区四区| 欧美96一区二区免费视频| 555www色欧美视频| 日韩va欧美va亚洲va久久| 欧美久久一二区| 日韩影院在线观看| 5月丁香婷婷综合| 青青草原综合久久大伊人精品优势| 中文字幕免费观看一区| 成人一区二区三区| 国产精品久久久久影院亚瑟| 成av人片一区二区| 亚洲视频一二三区| 在线欧美小视频| 一区二区三区在线观看视频| 欧美亚男人的天堂| 天堂在线亚洲视频| 日韩欧美精品在线| 国产综合久久久久久鬼色 | 日本不卡视频一二三区| 91精品福利在线一区二区三区| 免费国产亚洲视频| 国产亚洲欧美中文| 白白色 亚洲乱淫| 亚洲综合色网站| 这里是久久伊人| 国内久久婷婷综合| ...xxx性欧美| 欧美日韩在线不卡| 麻豆成人av在线| 国产性做久久久久久| 97se亚洲国产综合在线| 亚洲午夜免费视频| 欧美va在线播放| 成人ar影院免费观看视频| 夜夜精品浪潮av一区二区三区| 欧美一区二区三区在线看| 国产在线看一区| 国产精品第一页第二页第三页| 在线视频中文字幕一区二区| 天天综合天天综合色| 久久久久久久电影| 色欧美片视频在线观看| 日本不卡不码高清免费观看 | 国产精品综合网| 亚洲精品国产精华液| 欧美www视频| 91亚洲午夜精品久久久久久| 日本欧美在线观看| 亚洲人快播电影网| 欧美成人高清电影在线| 99精品视频一区二区三区| 天堂在线一区二区| 中文av字幕一区| 欧美丰满少妇xxxxx高潮对白| 国产精品白丝av| 亚洲一区二区综合| 国产婷婷色一区二区三区四区| 欧美激情在线看| 欧美精品tushy高清| 成人免费高清视频| 日本成人在线不卡视频| 中文字幕亚洲不卡| 日韩精品一区二区三区在线观看| 99久久久免费精品国产一区二区| 免费美女久久99| 亚洲男女毛片无遮挡| 欧美成人官网二区| 欧美日韩免费在线视频| 成人av午夜电影| 日本怡春院一区二区| 亚洲精品国产无天堂网2021| 国产农村妇女毛片精品久久麻豆| 欧美亚洲高清一区二区三区不卡| 成人国产视频在线观看| 麻豆成人av在线| 五月天一区二区三区| 国产精品不卡在线| 久久婷婷国产综合国色天香| 欧美日韩国产片| 色综合久久久久| 成人av在线电影| 国产成人在线视频播放| 老司机精品视频一区二区三区| 一二三区精品视频| 亚洲乱码一区二区三区在线观看| 久久久久国产成人精品亚洲午夜 | 亚洲成人av在线电影| 日韩毛片在线免费观看| 26uuu成人网一区二区三区| 欧美丰满美乳xxx高潮www| 色综合久久久久久久久久久| av一本久道久久综合久久鬼色| 国产在线精品免费| 久久99国产精品尤物| 日韩中文字幕1| 亚洲成av人**亚洲成av**| 一级日本不卡的影视| 亚洲男人的天堂av| 亚洲裸体在线观看| 亚洲欧美日韩中文播放 | 国产亚洲福利社区一区| 亚洲精品一区在线观看|