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

📄 extern.h

📁 基於Full Speed USB的USB2UART
💻 H
字号:
/**************************** Data In Parameter *******************************

 InFlag       -> The flag will be " SET " when MG84FL54BD receive data from PC
                 and stored in InBuffer[64] already.
 InLen        -> Size of data that stored in InBuffer[64]
 InBuffer[64] -> Data buffer

*******************************************************************************/
extern     BIT InFlag;
extern     BYTE InLen;
extern     XBYTE InBuffer[64];

/****************************** Function Call *********************************


 Initial();                             -> Will enable USB function that include
                                           " Device Firmware Upgrade " and " COM
                                           port interface "
 USB_Send_Data_To_PC( Size , *Buffer ); -->
                                           Size   --> The maximum number of bytes 
                                                      will be send to PC.
                                          *Buffer --> A pointer to the buffer that 
                                                      content the data will be send 
                                                      to PC.
 USB_Read_Data_Complete();              -> Will release buffer for next data  
                                           transfer from PC
*******************************************************************************/
extern     void Initial( void );
extern     void USB_Send_Data_To_PC( BYTE , BYTE * );
extern     void USB_Read_Data_Complete( void );

⌨️ 快捷键说明

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