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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? uart.h

?? SEED_TMS320vc5402dsk是在TI的TMS320VC5402DSK板基礎上簡化開發出來的
?? H
?? 第 1 頁 / 共 2 頁
字號:
/*                                                                           */
/*  Parameters:                                                              */
/*      - None                                                               */
/*                                                                           */
/*  Return:                                                                  */
/*  - OK success                                                             */
/*  - ERROR failure                                                          */
/*                                                                           */
/*  Notes:                                                                   */
/*                                                                           */
/*****************************************************************************/
void uart_reset(void);

/*****************************************************************************/
/*  s16 uart_read_reg()                                                      */
/*                                                                           */
/*  This routine reads the specified uart register.                          */
/*                                                                           */
/*  Parameters:                                                              */
/*      - reg - the uart register to read.                                   */
/*      - val - stores the read register value.                              */
/*                                                                           */
/*  Return:                                                                  */
/*  - OK success                                                             */
/*  - ERROR failure                                                          */
/*                                                                           */
/*  Notes:                                                                   */
/*                                                                           */
/*****************************************************************************/
u16 uart_read_reg(UartReg reg);

/*****************************************************************************/
/*  s16 uart_write_reg()                                                     */
/*                                                                           */
/*  This routine writes the specified uart register.                         */
/*                                                                           */
/*  Parameters:                                                              */
/*      - reg - the uart register to write to.                               */
/*      - val - stores the register value to write.                          */
/*                                                                           */
/*  Return:                                                                  */
/*  - OK success                                                             */
/*  - ERROR failure                                                          */
/*                                                                           */
/*  Notes:                                                                   */
/*                                                                           */
/*****************************************************************************/
u16 uart_write_reg(UartReg reg, u16 value, u16 mask);

/*****************************************************************************/
/*  s16 uart_interrupt_control(UartIntr intr, bool enable)                   */
/*                                                                           */
/*  This routine enables the specified uart interrupt.                       */
/*                                                                           */
/*  Parameters:                                                              */
/*      - intr - The uart interrupt to enable or disable.                    */
/*      - enable - Specifies action to perform.                              */
/*                                                                           */
/*  Return:                                                                  */
/*  - OK success                                                             */
/*  - ERROR failure                                                          */
/*                                                                           */
/*  Notes:                                                                   */
/*                                                                           */
/*****************************************************************************/
int uart_interrupt_control(UartIntr intr, bool enable);

/*****************************************************************************/
/*  s16 uart_interrupt_hook(Fp uartIsr)                                      */
/*                                                                           */
/*  This routine installs an ISR for the uart interrupt (INT0 on DSP).       */
/*  The ISR will be called once when the receive buffer is full or when the  *
/*  transmit buffer is empty.                                                */
/*                                                                           */
/*  Parameters:                                                              */
/*      - uartIsr - The interrupt service routine.                           */
/*                                                                           */
/*  Return:                                                                  */
/*  - OK success                                                             */
/*  - ERROR failure                                                          */
/*                                                                           */
/*  Notes:                                                                   */
/*                                                                           */
/*****************************************************************************/
int uart_interrupt_hook(Fp uartIsr);

/*****************************************************************************/
/*  UartIntrInfo uart_interrupt_info()                                       */
/*                                                                           */
/*  This routine retrieves interrupt information from the Interrupt          */
/*  Identification register (UART_IIR_REG).                                  */
/*                                                                           */
/*  Parameters:                                                              */
/*      - none.                                                              */
/*                                                                           */
/*  Return:                                                                  */
/*  - One of UartIntrInfo enumerations.                                      */
/*                                                                           */
/*  Notes:                                                                   */
/*  For some interrupts more specific information may have to be read from   */
/*  other registers. See notes on tne UartIntrInfo enumerated type above.    */
/*                                                                           */
/*****************************************************************************/
UartIntrInfo uart_interrupt_info();

/*****************************************************************************/
/*  s16 uart_read()                                                          */
/*                                                                           */
/*  This routine recieves data into the supplied buffer.                     */
/*                                                                           */
/*  Parameters:                                                              */
/*      - buf - buffer to read data into.                                    */
/*      - cnt - number of data samples to capture into buffer.               */
/*                                                                           */
/*  Return:                                                                  */
/*  - OK success                                                             */
/*  - ERROR failure                                                          */
/*                                                                           */
/*  Notes:                                                                   */
/*                                                                           */
/*****************************************************************************/
int uart_read(char *pBuf, unsigned cnt);

/*****************************************************************************/
/*  s16 uart_write()                                                         */
/*                                                                           */
/*  This routine sends data in the supplied buffer to the uart.              */
/*                                                                           */
/*  Parameters:                                                              */
/*      - buf - buffer                                                       */
/*      - cnt - number of data samples to send to uart.                      */
/*                                                                           */
/*  Return:                                                                  */
/*  - OK success                                                             */
/*  - ERROR failure                                                          */
/*                                                                           */
/*  Notes:                                                                   */
/*                                                                           */
/*****************************************************************************/
int uart_write(char *pBuf, unsigned cnt);

/*****************************************************************************/
/*  s16 uart_setup()                                                         */
/*                                                                           */
/*  Change the values of uart setable parameters including baud rate, word   */
/*  size, stop bits, parity, fifo, enabled interrupts, and loopback. Each    */
/*  group is handled by an enumeration that includes the option of no-change.*/
/*                                                                           */
/*  Parameters:                                                              */
/*      - baud - The requested baud rate                                     */
/*      - wordSize - Sample word size                                        */
/*      - stopBits - Number of stop bits                                     */
/*      - parity - Specifies parity to use                                   */
/*      - fifoControl - Specifies fifo control command. this parameter may   */
/*                      be overloaded                                        */
/*      - loopEnable - Enables or disables loopback mode                     */
/*                                                                           */
/*  Return:                                                                  */
/*  - OK success                                                             */
/*  - ERROR failure                                                          */
/*                                                                           */
/*  Notes:                                                                   */
/*                                                                           */
/*****************************************************************************/
int uart_setup(UartBaud         baud,
               UartWordLen      wlen,
               UartStopBits     stopBits,
               UartParity       parity,
               UartFifoControl  fifoControl,
               UartLoop         loopEnable);

/*****************************************************************************/
/*  int uart_fgetc() - read a character from the uart.                       */
/*                                                                           */
/*  This routine reads a character from the uart.                            */
/*                                                                           */
/*  Parameters:                                                              */
/*      - None                                                               */
/*                                                                           */
/*  Return:                                                                  */
/*  - If character available, returns character as non-sign extended int     */
/*  - If no character available, returns EOF                                 */
/*                                                                           */
/*  Notes:                                                                   */
/*                                                                           */
/*****************************************************************************/
int uart_fgetc(void);

/*****************************************************************************/
/*    int uart_fputc(const int c) - write a character to the uart.           */
/*                                                                           */
/*  This routine writes a character to the uart.                             */
/*                                                                           */
/*  Parameters:                                                              */
/*      - c - The character, as an int, to be sent to the uart.              */
/*                                                                           */
/*  Return:                                                                  */
/*  - On Success, returns character written                                  */
/*  - On Failure, returns EOF                                                */
/*                                                                           */
/*  Notes:                                                                   */
/*        The int representing the character will be masked to 8 bits prior  */
/*        to being written to the uart.                                      */
/*                                                                           */
/*****************************************************************************/
int uart_fputc(const int c);

/*****************************************************************************/
/*  char* uart_fgets(char* pbuf, int bufSize) - read a string from the uart. */
/*                                                                           */
/*  This routine reads a string from the uart. The string will be read upto  */
/*  a newline or until the buffer is filled. The string is always NULL       */
/*  terminated and does not have any newline character removed.              */
/*                                                                           */
/*  Parameters:                                                              */
/*      - pbuf - an area of memory to use for character storage              */
/*      - bufSize - the size of that memory area in characters (must include */
/*                  space for the NULL terminator).                          */
/*                                                                           */
/*                                                                           */
/*  Return:                                                                  */
/*  - On Success, returns pointer to string                                  */
/*  - On Failure, returns NULL pointer                                       */
/*                                                                           */
/*  Notes:                                                                   */
/*                                                                           */
/*****************************************************************************/
char* uart_fgets(char* pbuf, int bufSize);

/*****************************************************************************/
/*    int uart_fputs(const char* pbuf) - write a string to the uart.         */
/*                                                                           */
/*  This routine writes a string to the uart. The NULL terminator is not     */
/*  written and a newline is not added to the output.                        */
/*                                                                           */
/*  Parameters:                                                              */
/*      - pbuf - an area of memory containing the string to be written.      */
/*                                                                           */
/*                                                                           */
/*  Return:                                                                  */
/*  - On Success, returns 0                                                  */
/*  - On Failure, returns non-0                                              */
/*                                                                           */
/*  Notes:                                                                   */
/*                                                                           */
/*****************************************************************************/
int uart_fputs(const char* pbuf);

#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
视频一区欧美精品| 97精品国产露脸对白| 国产成a人亚洲精| 欧美日韩视频在线第一区| 久久久亚洲高清| 肉丝袜脚交视频一区二区| 99在线精品观看| 亚洲国产精品成人综合| 蜜桃一区二区三区四区| 欧美中文字幕一二三区视频| 欧美经典三级视频一区二区三区| 蜜臀a∨国产成人精品| 欧美日韩的一区二区| 亚洲激情自拍偷拍| 99久久精品免费看国产免费软件| 2欧美一区二区三区在线观看视频| 日韩精彩视频在线观看| 欧美天天综合网| 亚洲欧美日韩国产一区二区三区| 国产盗摄一区二区| 国产亚洲欧洲997久久综合| 婷婷成人激情在线网| 在线观看欧美日本| 亚洲一区二区精品久久av| 91免费版pro下载短视频| 中文字幕中文乱码欧美一区二区| 国产v日产∨综合v精品视频| 国产三级久久久| 国产成人免费av在线| 日本一区二区三区国色天香 | 99久久综合国产精品| 国产日韩欧美精品综合| 国产一区三区三区| 久久久久久电影| 国产一区二区三区电影在线观看| 亚洲精品在线三区| 国产福利一区二区三区视频在线 | 久久亚洲一区二区三区四区| 国产在线一区观看| 久久精品一区八戒影视| 国产a区久久久| 中文字幕中文字幕一区二区| 色噜噜偷拍精品综合在线| 亚洲免费成人av| 欧美亚洲禁片免费| 美女一区二区视频| 久久精品亚洲一区二区三区浴池 | 亚洲色图视频网| 欧美在线免费播放| 免费在线观看日韩欧美| 国产视频一区二区在线观看| aa级大片欧美| 日韩电影在线观看电影| 国产午夜亚洲精品理论片色戒 | 日本一区二区成人在线| 成人免费看的视频| 亚洲曰韩产成在线| 91精品国产综合久久久久| 国产一区二区三区美女| 1000精品久久久久久久久| 欧美日韩aaa| 精品一区二区三区在线播放视频| 国产精品日产欧美久久久久| 欧美精品一二三区| 国产suv精品一区二区6| 午夜视频一区在线观看| 精品国产91九色蝌蚪| 在线免费观看日韩欧美| 国产一区二区三区四区在线观看 | 国产精品久99| 欧美高清一级片在线| 国产99久久久精品| 三级在线观看一区二区| 中文av一区特黄| 欧美欧美欧美欧美| 成人h动漫精品一区二| 日本午夜精品视频在线观看| 亚洲欧洲一区二区三区| 欧美电影免费观看高清完整版在线| eeuss鲁片一区二区三区 | 精品久久免费看| 在线视频欧美精品| 国产盗摄女厕一区二区三区| 日日夜夜免费精品视频| 亚洲视频一区在线| 久久伊99综合婷婷久久伊| 欧美午夜免费电影| 成人高清视频在线观看| 国产在线精品一区二区| 青青草视频一区| 亚洲影视资源网| 亚洲三级电影全部在线观看高清| 久久久亚洲高清| 精品国产乱码久久久久久闺蜜| 欧美日韩黄视频| 在线观看成人免费视频| 99视频精品全部免费在线| 国产成人精品免费| 国产一区二区三区免费播放| 久久99久久99| 免费成人在线影院| 日韩成人午夜电影| 日产国产欧美视频一区精品 | 欧美精品久久久久久久多人混战| 在线免费精品视频| 欧美性生活大片视频| 在线日韩一区二区| 欧美在线综合视频| 欧美日韩日日夜夜| 欧美日本一区二区| 6080国产精品一区二区| 91精品国产一区二区三区蜜臀| 在线不卡a资源高清| 91精品国产入口在线| 欧美一区日本一区韩国一区| 欧美一区二区在线不卡| 日韩三级av在线播放| 精品国产亚洲在线| 久久亚洲精精品中文字幕早川悠里 | 美女在线视频一区| 免费成人你懂的| 久久精品噜噜噜成人88aⅴ| 另类小说一区二区三区| 国产最新精品精品你懂的| 国产一区二区三区国产| 成人一级视频在线观看| 9i在线看片成人免费| 色丁香久综合在线久综合在线观看| 欧美性色欧美a在线播放| 欧美人伦禁忌dvd放荡欲情| 日韩欧美国产麻豆| 欧美激情一区二区三区| 亚洲欧美偷拍三级| 香蕉影视欧美成人| 国产一区二区主播在线| 成人午夜电影久久影院| 日本高清不卡aⅴ免费网站| 欧美精品三级日韩久久| 亚洲精品一线二线三线无人区| 国产精品久线在线观看| 亚瑟在线精品视频| 国产乱子伦视频一区二区三区| 99久久精品国产毛片| 91精品黄色片免费大全| 国产亚洲欧美日韩日本| 亚洲最快最全在线视频| 久久福利资源站| 一本一道综合狠狠老| 91精品综合久久久久久| 国产精品毛片久久久久久| 亚洲成人1区2区| 高清在线观看日韩| 在线视频综合导航| 精品国产乱子伦一区| 亚洲精品免费看| 国产精品1区2区| 欧美日韩一区中文字幕| 欧美国产国产综合| 秋霞成人午夜伦在线观看| jlzzjlzz亚洲日本少妇| 日韩女优电影在线观看| 一区二区在线免费| 国产a级毛片一区| 欧美一区二区三区精品| 亚洲精品免费看| 国产成人丝袜美腿| 欧美一区二区三区人| 亚洲另类在线一区| 国产成人精品一区二区三区四区| 在线不卡中文字幕| 亚洲人成7777| 成人高清视频免费观看| 亚洲精品在线免费播放| 爽好多水快深点欧美视频| 色综合久久综合| 国产精品久久久久一区| 精品一区二区三区影院在线午夜 | 麻豆成人91精品二区三区| 在线观看日韩国产| 中文字幕在线一区二区三区| 国产尤物一区二区| 欧美xxxxxxxxx| 日韩主播视频在线| 欧美挠脚心视频网站| 一区二区三区成人在线视频| 成人av网站在线| 亚洲国产精品t66y| 国产乱码精品一品二品| 日韩精品专区在线| 久久精品国产精品亚洲综合| 欧美一区三区二区| 日韩高清中文字幕一区| 制服丝袜一区二区三区| 偷拍与自拍一区| 91精品国产综合久久久久久久久久 | 成人av资源在线观看| 日本一区二区三级电影在线观看 | 日韩成人dvd| 欧美精品在线一区二区| 日韩一区精品字幕|