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

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

?? pcl4c.ref

?? C語言通訊程序庫DOS版,支持10個(gè)115200波特率的通訊口
?? REF
?? 第 1 頁 / 共 5 頁
字號:
                        7           1024 bytes        Size1024 or Size1K
                        8           2048 bytes        Size2048 or Size2K
                        9           4096 bytes        Size4096 or Size4K
                       10           8192 bytes        Size8192 or Size8K
                       11          16384 bytes        Size16384 or Size16K
                       12          32768 bytes        Size32768 or Size32K

          Returns    -4 : No such port. Expect 0 to MaxPort.
                    -10 : Bad buffer size code. Expecting 0 to 11.

          Example    char RxBuf[1024]; /* declare as global */
                     ...
                     /* setup 1K receive buffer */
                     SioRxBuf(COM1, RxBuf, Size1024);
                     /* ready to call SioReset */

         See Also    SioReset.














        PCL4C Reference Manual                                 Page 32
                                  SioRxFlush



         Function    To  flush  the  receive  buffer  associated  with  the
                     specified port.

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

          Remarks    The SioRxFlush function will delete any characters  in
                     the  receive  buffer  for  the  specified port.  After
                     execution, the receive buffer  will  be  empty.   Call
                     SioRxBuf after resetting a port in order to delete any
                     spurious characters.

          Returns    -2 : Port not enabled. Call SioReset first.
                     -4 : No such port. Expect 0 to MaxPort.

          Example    char buffer[1024];
                     ...
                     /* setup receive buffer & reset port */
                     SioRxBuf(COM1,buffer,Size1024);
                     SioReset(COM1,Baud115200);
                     /* flush any spurious character */
                     SioRxFlush(COM1);
                     /* ready for serial processing ! */
                     ...

         See Also    SioRxQue.





























        PCL4C Reference Manual                                 Page 33
                                  SioRxQue



         Function    Returns the number of characters in the receive queue.

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

          Remarks    The  SioRxQue  function  will  return  the  number  of
                     characters  in  the  receive  queue at the time of the
                     call. It  can  be  used  to  implement  XON/XOFF  flow
                     control.

          Returns    -2 : Port not enabled. Call SioReset first.
                     -4 : No such port. Expect 0 to MaxPort.

          Example    #define XON 0x11
                     #define XOFF 0x13
                     int count;
                     char last = XON;
                     char Buffer[128];
                     ...
                     SioRxBuf(COM1,Buffer,Size128);
                     /* implement XON / XOFF */
                     count = SioRxQue(COM1);
                     if((last==XON)&&(count>120))
                       {SioPutc(COM1,XOFF);
                        last = XOFF;
                       }
                     if((last==XOFF)&&(count<8))
                       {SioPutc(COM1,XON);
                        last = XON;
                       }

        See Also     SioRxFlush.























        PCL4C Reference Manual                                 Page 34
                                  SioTimer



         Function    Returns the number of system clock tics since midnight.

           Syntax    long SioTimer()

          Remarks    The SioTimer function will return the number of system
                     clock tics since midnight, at 18.2065 tics per second.
                     This function is usefull for timing various functions.
                     Also see SioDelay.

          Returns    timer tics.

          Example    long time;
                     ...
                     time = SioTimer();
                     ...
                     printf("Elasped time = %ld tics\n",SioTimer() - time);

         See Also    SioDelay.





































        PCL4C Reference Manual                                 Page 35
                                  SioTxBuf



         Function    Sets up transmitter buffer.

           Syntax    int SioTxBuf(Port,Buffer,SizeCode)
                     int Port;     /* Port selected (COM1 thru COM4) */
                     char *Buffer  /* Transmit buffer */
                     int SizeCode; /* Buffer size code */

          Remarks     The  SioTxBuf function passes the address and size of
                     the transmit buffer to PCL4C, provided that  you  will
                     link  with a PCL4C library with transmitter interrupts
                     enabled.  PCL4C requires a transmit  buffer  for  each
                     port  in  simultaneous  operation if you are using the
                     version of the  library  with  transmitter  interrupts
                     enabled  (PCL4C_?2.LIB).   SioTxBuf()  must  be called
                     before SioReset.  Buffer  size  codes  are  listed  in
                     "PCL4C.H".

                     Size Code       Buffer Size    PCL4C.H Name
                        0              8 bytes        Size8
                        1             16 bytes        Size16
                        2             32 bytes        Size32
                        3             64 bytes        Size64
                        4            128 bytes        Size128
                        5            256 bytes        Size256
                        6            512 bytes        Size512
                        7           1024 bytes        Size1024 or Size1K
                        8           2048 bytes        Size2048 or Size2K
                        9           4096 bytes        Size4096 or Size4K
                       10           8192 bytes        Size8192 or Size8K
                       11          16384 bytes        Size16384 or Size16K
                       12          32768 bytes        Size32768 or Size32K

                     This function  is  not  used  unless  the  transmitter
                     interrupts  are  enabled  (PCL4C_S2.LIB, PCL4C_M2.LIB,
                     PCL4C_C2.LIB, and PCL4C_L2.LIB).  Refer to  the  PCL4C
                     Users  Manual  for  information  on  transmitter  (TX)
                     interrupts.

          Returns    -4 : No such port. Expect 0 to MaxPort.
                    -10 : Bad buffer size code. Expecting 0 to 11.

          Example    char TxBuf[1024]; /* declare as global */
                     ...
                     /* setup 1K transmit buffer */
                     SioTxBuf(COM1, TxBuf, Size1024);
                     /* ready to call SioReset */

         See Also    SioRxBuf and SioReset.







        PCL4C Reference Manual                                 Page 36
                                  SioTxFlush



         Function    To  flush  the  transmit  buffer  associated  with  the
                     specified port.

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

          Remarks    The SioTxFlush function will delete any characters  in
                     the transmit buffer for the specified  port,  provided
                     that   you   will  link  with  a  PCL4C  library  with
                     transmitter interrupts enabled.  After execution,  the
                     transmit  buffer  will  be empty.

                     Once  this  function  is  called, any character in the
                     transmit buffer (put there by SioPutc)  will  be  lost
                     and therefore not transmitted.

                     This  function  is  not  used  unless  the transmitter
                     interrupts are  enabled  (PCL4C_S2.LIB,  PCL4C_M2.LIB,
                     PCL4C_C2.LIB,   and   PCL4C_L2.LIB).  Refer   to   the
                     PCL4C  Users  Manual  for  information  on transmitter
                     (TX) interrupts.

          Returns    -2 : Port not enabled. Call SioReset first.
                     -4 : No such port. Expect 0 to MaxPort.

          Example    char buffer[1024];
                     ...
                     /* setup transmit buffer & reset port */
                     SioTxBuf(COM1,buffer,Size1024);
                     SioReset(COM1,Baud115200);
                     /* flush any spurious character */
                     SioTxFlush(COM1);
                     /* ready for serial processing ! */
                     ...

         See Also    SioTxQue.



















        PCL4C Reference Manual                                 Page 37
                                  SioTxQue



         Function    Returns the number of characters in the transmit queue.

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

          Remarks    The  SioTxQue  function  will  return  the  number  of
                     characters  in  the  transmit queue at the time of the
                     call, provided that you will link with a PCL4C library
                     with transmitter interrupts enabled.

                     This function  is  not  used  unless  the  transmitter
                     interrupts  are  enabled  (PCL4C_S2.LIB, PCL4C_M2.LIB,
                     PCL4C_C2.LIB, and PCL4C_L2.LIB). Refer  to  the  PCL4C
                     Users  Manual  for  information  on  transmitter  (TX)
                     interrupts.

          Returns    -2 : Port not enabled. Call SioReset first.
                     -4 : No such port. Expect 0 to MaxPort.


          Example    int Count;
                     char Buffer[128];
                     ...
                     SioTxBuf(COM1,Buffer,Size128);
                     /* display # bytes in transmitter queue */
                     Count = SioTxQue(COM1);
                     printf("%d bytes in transmitter queue\n",Count);
                     ...

        See Also     SioTxFlush.

























        PCL4C Reference Manual                                 Page 38
                                  SioUART



         Function    Sets the UART base address.

           Syntax    int SioUART(Port,Address)
                     int Port;     /* COM1 to COM4 */
                     int Address;  /* UART address */

          Remarks    The  SioUART  function sets  the UART base address for
                     the specified port.  SioUART  must  be  called  before
                     SioReset  in  order to have effect.  Be extremely sure
                     that you know what you are doing! Note that PCL4C uses
                     the  standard  PC/XT/AT  port   addresses,   interrupt
                     request   lines,   and   interrupt   service  vectors.
                     Therefore,  this   function   is   only   needed   for
                     non-standard ports.

          Returns    >0 : The previous base address for this port.
                     -4 : No such port.  Expect 0 to MaxPort.
                    -15 : Port already enabled.  SioReset has already been
                          called.

          Example    /* Record the fact that you don't have COM4 */
                     SioUART(COM4, 0);

         See Also    SioPorts, SioIRQ, and SioReset.































        PCL4C Reference Manual                                 Page 39
                                  SioUnGetc



         Function    "Un-gets" the last character read with SioGetc().

           Syntax    int SioUnGetc(Port,c)
                     int Port;     /* Port selected (COM1 thru COM4) */
                     char c;       /* character to unget */

          Remarks      The   SioUnGetc   function  returns  ("pushes")  the
                     character back into  the  serial  input  buffer.   The
                     character  pushed  will be the next character returned
                     by SioGetc.  Only one character can  be  pushed  back.
                     This function works just like the "ungetc" function in
                     the C language.

          Returns    -

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产一区欧美二区| 欧美国产欧美综合| 国产婷婷色一区二区三区四区| 久久精品视频一区二区| 1000精品久久久久久久久| 亚洲一区电影777| 久久不见久久见免费视频7| 成人亚洲一区二区一| 91行情网站电视在线观看高清版| 91精品国产综合久久久久久久久久 | 日日欢夜夜爽一区| 日韩精品一区在线观看| 久久色在线视频| 亚洲图片欧美激情| 美女视频黄久久| 成人黄色网址在线观看| 欧美日本在线看| 亚洲国产精品二十页| 亚洲一区中文日韩| 韩国v欧美v亚洲v日本v| 91麻豆国产福利在线观看| 日韩欧美视频一区| 亚洲欧美日韩中文播放| 久久99精品网久久| 在线观看欧美黄色| 国产亚洲福利社区一区| 亚洲成在人线免费| 国产一区二区久久| 欧美日韩国产精品成人| 中文字幕第一区二区| 午夜国产精品一区| 91影院在线观看| 久久色成人在线| 亚洲精品国产一区二区三区四区在线| 久久精品国产999大香线蕉| 99久久婷婷国产精品综合| 日韩欧美第一区| 亚洲va欧美va人人爽午夜| 丁香网亚洲国际| 日韩精品综合一本久道在线视频| 亚洲人快播电影网| 国产精品小仙女| 日韩视频一区二区三区| 亚洲少妇中出一区| 国产成人av资源| 欧美一区二区不卡视频| 伊人色综合久久天天人手人婷| 国产成人一区在线| 日韩精品一区国产麻豆| 日韩黄色免费电影| 欧洲激情一区二区| 中文字幕一区二区三| 国产美女一区二区三区| 欧美大度的电影原声| 丝袜亚洲另类欧美| 欧美性生活大片视频| 亚洲男人电影天堂| 不卡视频一二三四| 国产精品毛片无遮挡高清| 精品写真视频在线观看| 欧美电影免费提供在线观看| 天天综合色天天| 欧美性猛交xxxx黑人交| 亚洲最大成人综合| 日本韩国精品在线| 亚洲精品日日夜夜| 一本一本大道香蕉久在线精品| 国产精品色呦呦| 国产成人午夜片在线观看高清观看| wwwwxxxxx欧美| 激情文学综合丁香| 久久久久久久久久久久久夜| 国产一区二区免费视频| 欧美zozozo| 日本伊人色综合网| 日韩欧美电影在线| 国精品**一区二区三区在线蜜桃| 久久综合久色欧美综合狠狠| 国产麻豆精品久久一二三| 久久综合九色综合97_久久久| 韩日av一区二区| 精品制服美女久久| 精品久久国产字幕高潮| 天天av天天翘天天综合网色鬼国产 | 久久久久久久久久久久久女国产乱| 精品亚洲成a人| 国产午夜精品一区二区三区嫩草 | 久久精品日韩一区二区三区| 国产99久久久国产精品免费看| 国产精品你懂的在线欣赏| 成人免费精品视频| 亚洲另类在线一区| 欧美天堂亚洲电影院在线播放| 亚洲h动漫在线| 欧美一区二区三区视频在线| 麻豆传媒一区二区三区| 久久蜜桃av一区二区天堂| 成人黄动漫网站免费app| 一区二区在线观看不卡| 欧美猛男男办公室激情| 久久黄色级2电影| 国产亚洲一区二区三区| www.激情成人| 亚洲va国产天堂va久久en| 7777精品伊人久久久大香线蕉| 精品无码三级在线观看视频 | 91丨porny丨国产入口| 一区二区三区中文字幕电影 | 一区二区三区视频在线观看| 欧美人成免费网站| 国产乱国产乱300精品| ●精品国产综合乱码久久久久| 欧美少妇xxx| 激情综合网最新| 亚洲男人的天堂av| 欧美精品xxxxbbbb| 丁香另类激情小说| 亚洲成人自拍偷拍| 久久精品一区二区三区四区| 91高清视频在线| 久久99久久精品| 尤物在线观看一区| 精品成a人在线观看| 一本一道久久a久久精品| 日本不卡123| 亚洲欧洲在线观看av| 欧美一区永久视频免费观看| 国产福利一区二区三区在线视频| 亚洲影院久久精品| 久久综合九色综合97婷婷| 欧洲视频一区二区| 国产白丝精品91爽爽久久| 亚洲国产视频一区二区| 久久色成人在线| 欧美卡1卡2卡| 波多野结衣精品在线| 蜜臀av性久久久久蜜臀av麻豆| 成人av网站免费观看| 日韩电影在线免费看| 国产精品福利影院| 日韩欧美国产一区二区在线播放| 99国产一区二区三精品乱码| 精品伊人久久久久7777人| 亚洲国产毛片aaaaa无费看| 国产三区在线成人av| 3d动漫精品啪啪一区二区竹菊 | 国产精品美日韩| 精品久久一区二区| 欧美久久久久免费| 99国产精品一区| 国产精品一区二区91| 日韩av电影一区| 亚洲电影中文字幕在线观看| 国产精品美日韩| 久久久.com| 精品剧情v国产在线观看在线| 欧美日韩卡一卡二| 日本道精品一区二区三区| 丰满少妇在线播放bd日韩电影| 免费观看91视频大全| 亚洲午夜国产一区99re久久| 成人免费在线视频观看| 国产三级欧美三级| 久久先锋影音av鲁色资源网| 欧美一区二区免费| 欧美视频一区二区三区| 91国偷自产一区二区三区成为亚洲经典 | 精品无人码麻豆乱码1区2区 | 日韩精品中文字幕一区二区三区| 欧美吞精做爰啪啪高潮| 91在线观看视频| 99re成人精品视频| 99在线视频精品| 成人午夜av影视| 高清久久久久久| 国产aⅴ综合色| 国产盗摄一区二区| 豆国产96在线|亚洲| 丰满少妇在线播放bd日韩电影| 国产精品99久久不卡二区| 国产在线一区二区| 国产一区二区三区四| 韩国三级电影一区二区| 精品一区二区在线看| 国内精品视频666| 国产精品18久久久久久久网站| 国产一区 二区| 成人一区二区三区视频在线观看| 国产成人午夜视频| 成人app软件下载大全免费| 99热在这里有精品免费| 色综合天天综合给合国产| 色综合久久久久| 欧美日韩一区二区三区在线看| 欧美日韩精品系列| 欧美一级久久久久久久大片| 精品美女一区二区| 久久久噜噜噜久噜久久综合| 国产精品久久午夜夜伦鲁鲁| 亚洲精品中文在线观看|