⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 getsuart4.c

📁 Mplab C30编译器
💻 C
字号:
#if defined(__PIC24F__)
#include <p24Fxxxx.h>
#endif
#include "uart.h"


/* UART4 is defined in following devices */
#ifdef _UART_IRDA_V1_4

/***************************************************************************************
Function Prototype : unsigned int getsUART4(unsigned int length,unsigned int *buffer,
                                            unsigned int uart_data_wait)

Include            : uart.h
 
Description        : This function reads a string of data of specified length and 
                     stores it into the buffer location specified.
 
Arguments          : length - This is the length of the string to be received.
                     buffer - This is the pointer to the location where the data 
                     received  have to be stored.
                     uart_data_wait- This is the time-out count for which the module
                     has to wait before return. If the time-out count is 慛

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -