亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
国产调教视频一区| 激情小说亚洲一区| 东方aⅴ免费观看久久av| 91久久精品一区二区二区| 国产精品私人影院| 成人成人成人在线视频| 国产精品久久久久久久久晋中| 精品综合免费视频观看| 337p日本欧洲亚洲大胆精品| 日韩精品每日更新| 日韩视频在线永久播放| 另类的小说在线视频另类成人小视频在线 | 精品国产乱码久久久久久图片| 日韩精品亚洲专区| 精品粉嫩超白一线天av| 国产一区美女在线| 亚洲欧洲精品一区二区三区不卡| 成人污污视频在线观看| 一区二区三区日本| 日韩午夜电影在线观看| 成人免费视频app| 亚洲综合色成人| 精品精品欲导航| 91麻豆蜜桃一区二区三区| 亚洲高清视频在线| wwwwww.欧美系列| 色综合咪咪久久| 久久国产综合精品| 国产精品国产a| 久久一区二区三区四区| 欧美亚洲日本一区| 顶级嫩模精品视频在线看| 日本网站在线观看一区二区三区| 国产欧美精品一区aⅴ影院| 欧美二区乱c少妇| 不卡av免费在线观看| 久久99久国产精品黄毛片色诱| 亚洲午夜电影在线观看| 中文字幕免费不卡| 久久综合九色综合欧美就去吻| 色哟哟国产精品| 99精品桃花视频在线观看| 国产精品99久| 国产乱人伦精品一区二区在线观看| 亚洲自拍偷拍欧美| 亚洲伊人伊色伊影伊综合网| 亚洲三级视频在线观看| 亚洲欧美日韩一区| 自拍偷拍亚洲欧美日韩| 亚洲欧美色图小说| 亚洲少妇30p| 亚洲精品亚洲人成人网| 亚洲美女屁股眼交| 一区二区三区不卡在线观看| 亚洲主播在线观看| 日韩精品成人一区二区在线| 日韩在线播放一区二区| 日韩精品一二三四| 国产一区在线观看视频| 成人午夜私人影院| 91成人看片片| 精品国产一区二区三区忘忧草| 精品久久久久99| 国产精品久久二区二区| 午夜精品久久久久久久| 欧美aa在线视频| 成人免费观看视频| 欧美男女性生活在线直播观看| 欧美一区日韩一区| 国产精品黄色在线观看| 亚洲国产一区在线观看| 福利一区福利二区| 91在线你懂得| 日韩欧美激情在线| 亚洲欧美激情插| 国产伦精品一区二区三区免费迷| 成人aa视频在线观看| 日韩视频国产视频| 亚洲女性喷水在线观看一区| 国精产品一区一区三区mba视频| 97精品超碰一区二区三区| 欧美r级在线观看| 亚洲一区二区三区四区的| 成人免费视频视频在线观看免费| 337p亚洲精品色噜噜| 亚洲老妇xxxxxx| 国产白丝精品91爽爽久久 | 欧美日韩精品高清| 中文字幕一区二区三区四区| 国内精品久久久久影院一蜜桃| 欧美日韩一本到| 一区二区三区中文字幕| 色视频一区二区| 亚洲视频香蕉人妖| 97久久精品人人爽人人爽蜜臀| 久久综合资源网| 国产麻豆9l精品三级站| 精品国产乱码久久久久久闺蜜 | 亚洲国产精品激情在线观看| 久久国产日韩欧美精品| 精品女同一区二区| 国产电影精品久久禁18| 欧美国产丝袜视频| 99re8在线精品视频免费播放| 亚洲欧洲日韩av| 在线日韩av片| 日本美女一区二区三区视频| 欧美高清精品3d| 国产中文字幕一区| 国产精品三级电影| 欧美三级中文字| 蜜臀精品一区二区三区在线观看| 欧美高清视频一二三区| 精品一区精品二区高清| 亚洲天堂2016| 精品黑人一区二区三区久久| 色域天天综合网| 激情小说欧美图片| 欧美群妇大交群的观看方式| 国产精品二区一区二区aⅴ污介绍| 免费在线一区观看| 欧美极品xxx| 成人免费观看av| 日本午夜精品视频在线观看| 在线观看免费亚洲| 亚洲在线中文字幕| 欧美va亚洲va香蕉在线| 99精品视频在线播放观看| 亚洲成人免费影院| 国产亚洲欧美日韩俺去了| 日本久久一区二区| 国产精品99久久久久久似苏梦涵 | 99免费精品视频| 亚洲精品国产精品乱码不99| 日韩一级完整毛片| 欧美中文字幕一区二区三区亚洲| 精品亚洲aⅴ乱码一区二区三区| 国产精品视频在线看| 日韩精品一区二区三区swag | 欧美变态口味重另类| 欧美在线短视频| 91丨porny丨国产入口| 国产成人福利片| 国产 欧美在线| 高清不卡一二三区| 成人激情免费视频| 成人黄色软件下载| 成人黄色网址在线观看| 懂色中文一区二区在线播放| 蜜桃av一区二区三区| 五月综合激情婷婷六月色窝| 亚洲最新视频在线播放| 亚洲综合在线观看视频| 亚洲图片自拍偷拍| 亚洲国产人成综合网站| 久久综合成人精品亚洲另类欧美 | 国产成人午夜视频| eeuss鲁片一区二区三区| 色偷偷成人一区二区三区91| 在线观看网站黄不卡| 欧美日韩aaaaa| 精品成人一区二区三区四区| 久久久亚洲精华液精华液精华液| 久久久久久久一区| 亚洲日韩欧美一区二区在线| 亚洲午夜久久久久久久久电影网| 亚洲国产裸拍裸体视频在线观看乱了| 一区二区三区四区视频精品免费| 亚洲第一久久影院| 国产一区二区不卡| 欧美性大战久久| 欧美大白屁股肥臀xxxxxx| 国产精品国产三级国产a| 五月天中文字幕一区二区| 国产高清精品在线| 欧美久久免费观看| 中文在线资源观看网站视频免费不卡 | 懂色av噜噜一区二区三区av| 欧美日韩亚洲综合在线| 国产精品嫩草影院av蜜臀| 日韩电影在线一区| 欧美午夜电影一区| 中文字幕在线不卡一区| 国产在线精品不卡| 欧美人xxxx| 日韩综合在线视频| 欧美视频在线观看一区| 中文字幕在线播放不卡一区| 国精产品一区一区三区mba视频 | 欧美日韩亚洲综合在线 欧美亚洲特黄一级| 欧美成人一区二区三区在线观看| 亚洲成人精品在线观看| 色一情一伦一子一伦一区| 1000部国产精品成人观看| 成人午夜私人影院| 国产精品成人午夜| 成人成人成人在线视频| 中文字幕日本乱码精品影院| 成人毛片老司机大片| 亚洲欧美在线高清|