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

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

?? uart.h

?? TMS320VC5402實現FIR濾波,C語言實現
?? 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一区二区三区免费野_久草精品视频
91精彩视频在线观看| 欧美日韩国产欧美日美国产精品| 成人免费视频caoporn| 成人精品视频一区二区三区尤物| 成人av在线资源| 色综合咪咪久久| 欧美精品亚洲二区| 欧美va在线播放| 国产精品久久久久久久久免费相片 | 色综合色狠狠天天综合色| 欧美日本视频在线| 久久亚洲综合av| 亚洲色图制服诱惑| 日本中文一区二区三区| 国产精品66部| 色天使色偷偷av一区二区| 欧美一区在线视频| 国产日韩欧美亚洲| 亚洲国产毛片aaaaa无费看 | 精品国内片67194| 亚洲欧洲日韩av| 日本不卡一区二区三区| 国产不卡高清在线观看视频| 在线免费av一区| 久久日一线二线三线suv| 亚洲三级在线播放| 美女视频黄a大片欧美| 成人av资源在线观看| 91精品国产综合久久久蜜臀粉嫩| 国产丝袜欧美中文另类| 夜夜嗨av一区二区三区| 韩国精品主播一区二区在线观看 | 亚洲国产cao| 国产成人小视频| 欧美日韩一区三区| 国产精品色哟哟| 免费不卡在线视频| 色婷婷综合久久久中文一区二区 | 久久99日本精品| 91传媒视频在线播放| 久久精品欧美一区二区三区麻豆| 性感美女久久精品| www.久久精品| 2023国产一二三区日本精品2022| 夜夜嗨av一区二区三区网页| 成人性生交大片免费看视频在线 | 日本成人中文字幕在线视频| 99精品1区2区| 欧美精品一区二区三区视频| 午夜久久久久久久久| aaa欧美日韩| 久久久久高清精品| 免费看日韩a级影片| 在线国产亚洲欧美| 中文字幕制服丝袜成人av| 国模一区二区三区白浆| 欧美日韩一级片网站| 国产精品麻豆视频| 国产精品综合网| 欧美成人欧美edvon| 婷婷亚洲久悠悠色悠在线播放| 北条麻妃国产九九精品视频| 久久噜噜亚洲综合| 免费在线观看精品| 欧美日韩国产片| 亚洲成人免费在线观看| 91久久一区二区| 中文字幕一区二区日韩精品绯色| 国产成人免费在线视频| 欧美tk—视频vk| 毛片av一区二区| 6080亚洲精品一区二区| 五月婷婷久久丁香| 在线观看视频一区二区| 亚洲免费成人av| 99国产一区二区三精品乱码| 亚洲视频一二区| 99re这里只有精品视频首页| 国产精品伦一区二区三级视频| 国产高清久久久久| 久久精品亚洲一区二区三区浴池 | 26uuu国产电影一区二区| 蜜臀a∨国产成人精品| 在线成人av网站| 日产国产欧美视频一区精品| 欧美一区二区三区人| 三级欧美韩日大片在线看| 欧美精品久久99久久在免费线 | 国产成人精品三级麻豆| 国产欧美日韩不卡| 成人av中文字幕| 亚洲欧洲国产日韩| 91国偷自产一区二区开放时间 | 天堂成人国产精品一区| 在线不卡免费av| 男女视频一区二区| 久久先锋资源网| 国产大陆亚洲精品国产| 国产精品剧情在线亚洲| 日本韩国一区二区| 午夜精品福利一区二区三区蜜桃| 欧美一区二区视频网站| 久久97超碰国产精品超碰| 久久久久国产精品厨房| 99在线热播精品免费| 亚洲精品视频免费看| 色视频欧美一区二区三区| 亚洲丝袜另类动漫二区| 狠狠色狠狠色合久久伊人| 久久精品这里都是精品| 国产91丝袜在线播放九色| 国产精品天天看| 色一情一乱一乱一91av| 亚洲一区二区综合| 日韩一区二区在线观看视频 | 欧美一卡二卡在线| 日韩国产一二三区| 欧美精品一区二| 91在线高清观看| 亚洲成a人片在线观看中文| 在线成人av网站| 国产综合色产在线精品| 久久久久久久久久久电影| 成人国产精品免费观看视频| 中文字幕一区二区三区四区| 在线看国产一区二区| 麻豆一区二区三区| 国产精品美女久久福利网站| 欧美精品九九99久久| 国产中文字幕一区| 中文字幕制服丝袜一区二区三区| 欧美中文字幕一区二区三区| 美女在线一区二区| 国产精品每日更新在线播放网址| 欧美专区亚洲专区| 韩国av一区二区| 亚洲欧美日韩国产一区二区三区 | 欧美体内she精高潮| 美女视频免费一区| 亚洲天堂2016| 精品卡一卡二卡三卡四在线| 成人激情电影免费在线观看| 亚洲制服欧美中文字幕中文字幕| 日韩欧美一区二区免费| gogogo免费视频观看亚洲一| 日韩电影免费在线看| 91精品在线一区二区| caoporm超碰国产精品| 日本在线不卡视频一二三区| 中文字幕精品一区二区精品绿巨人 | 国产一区欧美日韩| 亚洲va欧美va天堂v国产综合| 2021久久国产精品不只是精品 | 久久精品无码一区二区三区| 色诱亚洲精品久久久久久| 极品美女销魂一区二区三区免费| 国产精品久久久久久久久免费相片| 91精品国产综合久久精品app| 国产一区欧美二区| 奇米影视一区二区三区| 专区另类欧美日韩| 久久夜色精品国产欧美乱极品| 欧美午夜视频网站| 成人av资源在线观看| 国产激情一区二区三区四区| 亚洲一区二区三区四区中文字幕| 久久这里只有精品首页| 欧美丝袜第三区| 成人精品国产免费网站| 久久国产精品区| 伊人色综合久久天天| 久久久www成人免费毛片麻豆| 欧美三区在线视频| 国产69精品久久久久毛片| 韩国v欧美v日本v亚洲v| 偷拍亚洲欧洲综合| 一区二区三区在线观看动漫| 欧美国产精品一区| 91精品国产色综合久久ai换脸 | 91成人看片片| 国产91在线看| 国产高清精品在线| 看电视剧不卡顿的网站| 午夜视频一区在线观看| 国产欧美精品国产国产专区| 久久久高清一区二区三区| 日韩三级免费观看| 欧美日本精品一区二区三区| 日本精品裸体写真集在线观看| 国产高清一区日本| 成人综合在线网站| 国产高清无密码一区二区三区| 精品综合免费视频观看| 天天影视网天天综合色在线播放| 日韩码欧中文字| 国产精品久久久久久久久免费桃花| 精品国产网站在线观看| 日韩一区二区三区在线观看| 欧美丰满高潮xxxx喷水动漫| 欧美影视一区二区三区|