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

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

?? uart.h

?? MCS-51的一個Free小型操作系統,在KeilC中下編譯工作
?? H
?? 第 1 頁 / 共 2 頁
字號:
*******************************************************************************/
void UART_FifoReset(UART_TypeDef *UARTx, UARTFIFO_TypeDef FIFO);

/*******************************************************************************
* Function Name  : UART_LoopBackConfig
* Description    : This function enables or disables the loop back mode of
*                  the selected UART.
* Input 1        : UARTx (x can be 0,1, 2 or 3) the desired UART
* Input 2        : ENABLE or DISABLE
* Output         : None
* Return         : None
*******************************************************************************/
void UART_LoopBackConfig(UART_TypeDef *UARTx, FunctionalState NewState);

/*******************************************************************************
* Function Name  : UART_TimeOutPeriodConfig
* Description    : This function configure the Time Out Period.
* Input 1        : UARTx (x can be 0,1, 2 or 3) the desired UART
* Input 2        : The time-out period value
* Output         : None
* Return         : None
*******************************************************************************/
inline void UART_TimeOutPeriodConfig(UART_TypeDef *UARTx, u16 TimeOutPeriod)
{
  UARTx->TOR = TimeOutPeriod;
}

/*******************************************************************************
* Function Name  : UART_GuardTimeConfig
* Description    : This function configure the Guard Time.
* Input 1        : UARTx (x can be 0,1, 2 or 3) the desired UART
* Input 2        : The guard time value
* Output         : None
* Return         : None
*******************************************************************************/
inline void UART_GuardTimeConfig(UART_TypeDef *UARTx, u16 GuardTime)
{
  UARTx->GTR = GuardTime;
}

/*******************************************************************************
* Function Name  : UART_RxConfig
* Description    : This function enable and disable the UART data reception.
* Input 1        : UARTx (x can be 0,1, 2 or 3) the desired UART
* Input 2        : ENABLE or DISABLE
* Output         : None
* Return         : None
*******************************************************************************/
void UART_RxConfig(UART_TypeDef *UARTx, FunctionalState NewState);

/*******************************************************************************
* Function Name  : UART_OnOffConfig
* Description    : This function sets On/Off the selected UART.
* Input 1        : UARTx (x can be 0,1, 2 or 3) the desired UART
* Input 2        : ENABLE or DISABLE
* Output         : None
* Return         : None
*******************************************************************************/
void UART_OnOffConfig(UART_TypeDef *UARTx, FunctionalState NewState);

/*******************************************************************************
* Function Name  : UART_ByteSend
* Description    : This function sends a data byte to the selected UART.
* Input 1        : UARTx (x can be 0,1, 2 or 3) the desired UART
* Input 2        : A pointer to the data byte to send
* Output         : None
* Return         : None
*******************************************************************************/
void UART_ByteSend(UART_TypeDef *UARTx, u8 *Data);

/*******************************************************************************
* Function Name  : UART_9BitByteSend
* Description    : This function sends a 9 bits data byte to the selected UART.
* Input 1        : UARTx (x can be 0,1, 2 or 3) the desired UART
* Input 2        : A pointer to the data to send
* Output         : None
* Return         : None
*******************************************************************************/
void UART_9BitByteSend(UART_TypeDef *UARTx, u16 *Data);

/*******************************************************************************
* Function Name  : UART_DataSend
* Description    : This function sends several data bytes to the selected UART.
* Input 1        : UARTx (x can be 0,1, 2 or 3) the desired UART
* Input 2        : A pointer to the data to send
* Input 3        : The data length in bytes
* Output         : None
* Return         : None
*******************************************************************************/
void UART_DataSend(UART_TypeDef *UARTx, u8 *Data, u8 DataLength);

/*******************************************************************************
* Function Name  : UART_9BitDataSend
* Description    : This function sends several 9 bits data bytes to the selected UART.
* Input 1        : UARTx (x can be 0,1, 2 or 3) the desired UART
* Input 2        : A pointer to the data to send
* Input 3        : The data length
* Output         : None
* Return         : None
*******************************************************************************/
void UART_9BitDataSend(UART_TypeDef *UARTx, u16 *Data, u8 DataLength);

/*******************************************************************************
* Function Name  : UART_StringSend
* Description    : This function sends a string to the selected UART.
* Input 1        : UARTx (x can be 0,1, 2 or 3) the desired UART
* Input 2        : A pointer to the string to send
* Output         : None
* Return         : None
*******************************************************************************/
void UART_StringSend(UART_TypeDef *UARTx, u8 *String);

/*******************************************************************************
* Function Name  : UART_ByteReceive
* Description    : This function gets a data byte from the selected UART.
* Input 1        : UARTx (x can be 0,1, 2 or 3) the desired UART
* Input 2        : A pointer to the buffer where the data will be stored
* Input 3        : The time-out period
* Output         : The received data
* Return         : The UARTx.SR register contents
*******************************************************************************/
u16 UART_ByteReceive(UART_TypeDef *UARTx, u8 *Data, u8 TimeOut);

/*******************************************************************************
* Function Name  : UART_9BitByteReceive
* Description    : This function gets a 9 bits data byte from the selected UART.
* Input 1        : UARTx (x can be 0,1, 2 or 3) the desired UART
* Input 2        : A pointer to the buffer where the data will be stored
* Input 3        : The time-out period value
* Output         : The received data
* Return         : The UARTx.SR register contents
*******************************************************************************/
u16 UART_9BitByteReceive(UART_TypeDef *UARTx, u16 *Data, u8 TimeOut);

/*******************************************************************************
* Function Name  : UART_DataReceive
* Description    : This function gets 8 bits data bytes from the selected UART.
* Input 1        : UARTx (x can be 0,1, 2 or 3) the desired UART
* Input 2        : A pointer to the buffer where the data will be stored
* Input 3        : The data length
* Input 4        : The time-out period value
* Output         : The received data
* Return         : The UARTx.SR register contents
*******************************************************************************/
u16 UART_DataReceive(UART_TypeDef *UARTx, u8 *Data, u8 DataLength, u8 TimeOut);

/*******************************************************************************
* Function Name  : UART_9BitDataReceive
* Description    : This function gets 9 bits data bytes from the selected UART.
* Input 1        : UARTx (x can be 0,1, 2 or 3) the desired UART
* Input 2        : A pointer to the buffer where the data will be stored
* Input 3        : The data length
* Input 4        : The time-out value
* Output         : The received data
* Return         : The UARTx.SR register contents
*******************************************************************************/
u16 UART_9BitDataReceive(UART_TypeDef *UARTx, u16 *Data, u8 DataLength, u8 TimeOut);

/*******************************************************************************
* Function Name  : UART_StringReceive
* Description    : This function gets 8 bits data bytes from the selected UART.
* Input 1        : UARTx (x can be 0,1, 2 or 3) the desired UART
* Input 2        : A pointer to the buffer where the string will be stored
* Output         : None
* Return         : None
*******************************************************************************/
u16 UART_StringReceive(UART_TypeDef *UARTx, u8 *Data);

/*******************************************************************************
* Function Name  : UART_FlagStatus
* Description    : This function gets the flags status of the selected UART.
* Input 1        : UARTx (x can be 0,1, 2 or 3) the desired UART
* Output         : None
* Return         : None
*******************************************************************************/
inline u16 UART_FlagStatus(UART_TypeDef *UARTx)
{
  return UARTx->SR;
}

#ifdef USE_SERIAL_PORT
/*******************************************************************************
* Function Name  : sendchar
* Description    : This function sends a character to the selected UART.
* Input 1        : A pointer to the character to send.
* Output         : None
* Return         : None
*******************************************************************************/
void sendchar( char *ch );
#endif /* USE_SERIAL_PORT */

#endif /* _UART_H */

/******************* (C) COPYRIGHT 2003 STMicroelectronics *****END OF FILE****/

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲国产精品嫩草影院| 久久精品国产网站| 在线观看免费亚洲| 精品理论电影在线观看 | 91亚洲永久精品| 国产精品综合一区二区| 国内精品不卡在线| 久久99国内精品| 精品亚洲porn| 国产伦精品一区二区三区在线观看| 日本欧美久久久久免费播放网| 午夜成人免费视频| 免费av网站大全久久| 免费观看成人鲁鲁鲁鲁鲁视频| 免费精品99久久国产综合精品| 免费在线一区观看| 狠狠色狠狠色综合日日91app| 日本美女一区二区三区视频| 美女视频黄a大片欧美| 黑人巨大精品欧美黑白配亚洲| 国产一区二区h| 成人精品一区二区三区四区 | 日本久久一区二区三区| 欧美色精品在线视频| 欧美一区二区成人| 久久中文字幕电影| 欧美高清在线精品一区| 国产精品美女久久久久久久久久久| 国产精品二区一区二区aⅴ污介绍| 欧美国产日产图区| 一级日本不卡的影视| 日本v片在线高清不卡在线观看| 另类小说欧美激情| 福利一区福利二区| 在线亚洲高清视频| 日韩一区二区三区在线观看| 国产亚洲精品资源在线26u| 亚洲欧美一区二区视频| 五月天中文字幕一区二区| 老司机免费视频一区二区三区| 成人午夜激情在线| 精品视频在线免费看| 久久婷婷国产综合国色天香| 亚洲图片激情小说| 美女任你摸久久| 97se亚洲国产综合在线| 3atv一区二区三区| 亚洲国产精品高清| 午夜电影久久久| 北岛玲一区二区三区四区| 在线不卡欧美精品一区二区三区| 久久久91精品国产一区二区三区| 一区二区在线观看av| 九九视频精品免费| 91理论电影在线观看| 日韩一级黄色片| 亚洲图片你懂的| 极品美女销魂一区二区三区免费 | 精品国产乱码久久久久久久| 亚洲欧美一区二区三区极速播放 | 舔着乳尖日韩一区| 成人一区二区三区视频在线观看 | 久久嫩草精品久久久精品一| 一区二区三区91| 国产成人精品三级麻豆| 欧美日韩一级二级三级| 国产精品人人做人人爽人人添 | 欧美视频一区二区三区四区| 久久久久久夜精品精品免费| 日韩国产在线一| 91在线porny国产在线看| 精品国产乱码久久| 性欧美大战久久久久久久久| av男人天堂一区| 精品国产第一区二区三区观看体验| 亚洲精品成人少妇| 丰满放荡岳乱妇91ww| 日韩欧美激情四射| 亚洲成人一区在线| 91麻豆123| 中文字幕一区二区5566日韩| 国产在线国偷精品产拍免费yy| 欧美日韩视频在线观看一区二区三区| 国产精品美女久久久久久久久 | 国产精品一级在线| 欧美一区二区三区免费大片| 亚洲精品亚洲人成人网| 成人毛片在线观看| 国产午夜精品一区二区三区视频 | 69堂国产成人免费视频| 亚洲综合色视频| 91免费版在线| 一色屋精品亚洲香蕉网站| 国产精选一区二区三区| 久久一夜天堂av一区二区三区| 日韩高清在线电影| 欧美精品三级日韩久久| 亚洲二区视频在线| 欧洲一区在线电影| 夜夜亚洲天天久久| 91黄色免费网站| 亚洲精品老司机| 91视频免费播放| 亚洲日本欧美天堂| 91国产精品成人| 夜夜嗨av一区二区三区| 在线欧美一区二区| 亚洲一区二区三区视频在线| 欧美亚洲综合网| 亚洲gay无套男同| 欧美理论电影在线| 免费久久精品视频| 久久综合九色欧美综合狠狠| 国产成人一区在线| 中文字幕不卡的av| 91在线视频播放| 亚洲午夜在线电影| 555www色欧美视频| 久久国产人妖系列| 国产亚洲欧美日韩日本| 成人的网站免费观看| 日韩一区在线播放| 欧美亚洲禁片免费| 男男gaygay亚洲| 国产人久久人人人人爽| 99综合电影在线视频| 有码一区二区三区| 4438x亚洲最大成人网| 激情伊人五月天久久综合| 欧美国产日本韩| 色国产综合视频| 日本美女一区二区三区| 国产视频911| 色成年激情久久综合| 三级欧美韩日大片在线看| 精品福利二区三区| 成人av小说网| 午夜视黄欧洲亚洲| 久久综合中文字幕| 91日韩精品一区| 日韩在线一区二区三区| 久久久精品人体av艺术| 在线免费观看一区| 狠狠色丁香久久婷婷综合丁香| 国产清纯白嫩初高生在线观看91| 色婷婷久久久亚洲一区二区三区 | 久久精品国产秦先生| 中文无字幕一区二区三区| 欧洲精品在线观看| 韩国av一区二区三区| 亚洲免费视频成人| 日韩欧美综合一区| 99re亚洲国产精品| 美女高潮久久久| 中文字幕在线视频一区| 欧美一区二区三区在线观看视频 | 亚洲精品在线一区二区| 99热国产精品| 91国模大尺度私拍在线视频| 欧美日韩国产综合草草| 亚洲欧洲色图综合| 欧美嫩在线观看| 波多野结衣在线一区| 亚洲 欧美综合在线网络| 久久精品视频在线免费观看| 欧美亚洲丝袜传媒另类| 国产精品888| 日韩制服丝袜先锋影音| 亚洲欧美日韩在线| 日韩欧美国产1| 欧美视频中文一区二区三区在线观看| 国产资源在线一区| 午夜精品免费在线观看| 亚洲欧洲日韩一区二区三区| 精品久久人人做人人爽| 欧美日韩国产影片| 99re视频精品| 丁香另类激情小说| 麻豆国产欧美日韩综合精品二区| 亚洲精品高清在线| 国产精品黄色在线观看| 久久亚洲综合色| 日韩一区二区不卡| 欧美日韩不卡在线| 色香色香欲天天天影视综合网| 国产精品亚洲一区二区三区在线| 日韩电影网1区2区| 亚洲午夜在线电影| 一区二区三区欧美| 亚洲欧美在线视频| 国产精品电影院| 国产日韩欧美在线一区| 精品99久久久久久| 欧美一卡二卡三卡| 欧美日本免费一区二区三区| 欧洲av一区二区嗯嗯嗯啊| 99re这里只有精品视频首页| 不卡av在线免费观看| 高清shemale亚洲人妖| 国产91综合一区在线观看|