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

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

?? uart.h

?? SEED_TMS320vc5402dsk是在TI的TMS320VC5402DSK板基礎(chǔ)上簡(jiǎn)化開發(fā)出來的
?? H
?? 第 1 頁 / 共 2 頁
字號(hào):
/*                                                                           */
/*  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

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
一卡二卡欧美日韩| 日韩一区二区三免费高清| 欧美在线free| 欧美一区二区成人| 欧美国产成人在线| 亚洲国产成人av网| 国产寡妇亲子伦一区二区| 色综合久久九月婷婷色综合| 日韩一级完整毛片| 国产精品免费视频观看| 日韩成人精品在线| 国产91精品免费| 欧美男女性生活在线直播观看| 欧美tickling网站挠脚心| 自拍偷拍欧美精品| 蜜臀av在线播放一区二区三区 | 日韩欧美卡一卡二| 国产精品美女久久久久久2018| 亚洲成人动漫精品| 国产激情一区二区三区桃花岛亚洲| 欧美亚洲国产一区在线观看网站| 久久久久久久久一| 丝袜亚洲另类欧美综合| 99国产精品久| 久久久久久综合| 午夜电影网一区| 99国产麻豆精品| 精品国产91乱码一区二区三区 | 欧美日韩国产小视频| 2020国产精品| 手机精品视频在线观看| 成人黄色国产精品网站大全在线免费观看 | 91精品国产综合久久福利软件 | 欧美综合一区二区三区| 久久精品亚洲乱码伦伦中文| 午夜精品久久久久久久蜜桃app| 成人国产亚洲欧美成人综合网| 欧美一级日韩不卡播放免费| 亚洲免费成人av| 高清不卡一区二区在线| 精品国产乱码久久久久久浪潮| 亚洲成人1区2区| 色综合久久88色综合天天| 久久亚洲私人国产精品va媚药| 首页国产欧美久久| 欧美网站大全在线观看| 亚洲欧美视频在线观看视频| 国产大陆亚洲精品国产| 欧美成人精品1314www| 亚洲亚洲精品在线观看| 97久久久精品综合88久久| 日本一区二区久久| 国产激情91久久精品导航| 精品国产污污免费网站入口| 日韩主播视频在线| 欧美日韩精品一区二区天天拍小说| 亚洲视频一区二区免费在线观看| 成人免费视频播放| 久久久久久久性| 国产一区二区免费在线| 欧美videos中文字幕| 蜜乳av一区二区三区| 欧美一区二区三区在| 丝瓜av网站精品一区二区 | 日韩av不卡一区二区| 欧美私模裸体表演在线观看| 亚洲最快最全在线视频| 色综合色狠狠综合色| 亚洲精品视频在线观看免费| 色av一区二区| 亚洲一线二线三线视频| 欧美三级三级三级爽爽爽| 亚洲成人av资源| 欧美日韩国产在线观看| 五月天一区二区三区| 91精品欧美综合在线观看最新 | 久久综合久久综合久久综合| 久草这里只有精品视频| 久久亚洲二区三区| 国产成人a级片| 亚洲欧洲一区二区三区| 91蝌蚪国产九色| 亚洲综合偷拍欧美一区色| 欧美日产在线观看| 麻豆一区二区三区| 久久九九久久九九| www.欧美日韩| 一区二区三区在线观看网站| 欧美视频在线播放| 老色鬼精品视频在线观看播放| 2020日本不卡一区二区视频| 丰满少妇在线播放bd日韩电影| 国产精品美女久久久久久久久| 色婷婷久久综合| 婷婷六月综合网| 精品久久久久av影院| 丁香激情综合国产| 亚洲影视在线播放| 日韩三级精品电影久久久| 国产精品亚洲综合一区在线观看| 国产精品乱码久久久久久| 在线观看不卡一区| 青青草成人在线观看| 国产欧美视频一区二区| 在线观看av一区| 久久不见久久见中文字幕免费| 国产三级精品视频| 欧美在线观看一区| 久久精品国产秦先生| 中文字幕av一区二区三区免费看| 欧美在线色视频| 韩国av一区二区三区| 亚洲精品免费在线| 久久精品国产精品青草| 亚洲国产一二三| 国产成人精品影视| 一区二区三区日韩在线观看| 日韩一级大片在线观看| 成人av网站免费| 日韩高清国产一区在线| 国产精品拍天天在线| 美国一区二区三区在线播放| 亚洲欧洲精品一区二区三区| 51精品秘密在线观看| 不卡欧美aaaaa| 免费成人美女在线观看| 国产精品麻豆久久久| 欧洲精品视频在线观看| 精品亚洲国产成人av制服丝袜| 亚洲乱码国产乱码精品精98午夜| 精品久久久久久久久久久久久久久久久| 99国产精品国产精品久久| 免费一级欧美片在线观看| 1区2区3区精品视频| 精品日韩成人av| 在线观看网站黄不卡| 国产一区二区三区日韩| 爽爽淫人综合网网站| 国产精品电影一区二区三区| 精品欧美乱码久久久久久| 色婷婷精品大视频在线蜜桃视频| 国产一区二区福利视频| 天天色综合天天| 亚洲日本乱码在线观看| 国产亚洲自拍一区| 日韩情涩欧美日韩视频| 欧美伊人久久久久久午夜久久久久| 国产jizzjizz一区二区| 欧美aⅴ一区二区三区视频| 夜夜夜精品看看| 国产精品国产三级国产普通话三级 | 欧美精品一区二区久久久| 欧美性猛交一区二区三区精品| 国产精品538一区二区在线| 日韩国产欧美在线观看| 一区二区三区**美女毛片| 国产精品每日更新| 久久久久久久精| 日韩一区二区免费高清| 欧美精品乱人伦久久久久久| 91网站最新地址| 成人激情开心网| 国产福利一区二区三区在线视频| 美女任你摸久久| 蜜桃久久久久久| 日本不卡视频在线观看| 亚洲成人综合在线| 亚洲va欧美va人人爽| 亚洲自拍偷拍麻豆| 一区二区三区电影在线播| 亚洲色图制服诱惑| 日韩美女久久久| 中文字幕一区av| 1区2区3区国产精品| 国产精品成人免费| 亚洲欧美自拍偷拍| 国产精品传媒入口麻豆| 国产精品成人在线观看| 国产精品乱码一区二区三区软件 | 成人高清视频免费观看| 国产精品免费久久久久| 欧美特级限制片免费在线观看| 男人的j进女人的j一区| 欧美一区三区四区| 蜜臀av性久久久久av蜜臀妖精| 91年精品国产| 肉丝袜脚交视频一区二区| 中文字幕一区二区三区av| 精品亚洲aⅴ乱码一区二区三区| 免费高清成人在线| 久久av资源站| 久久国产福利国产秒拍| 国产麻豆9l精品三级站| 高清成人免费视频| 成人av综合在线| 色菇凉天天综合网| 欧美三区在线观看| 91精品国产福利| 久久久精品黄色| 中文字幕日韩一区二区|