Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
serial_file.h
00001 #ifndef FILE_BUF_SIZE 00002 #define FILE_BUF_SIZE 1024 00003 #include "mbed.h" 00004 00005 #define ERR_FILE_BUF_FULL 10 00006 #define ERR_FILE_TERMINATED 20 00007 00008 // shared with other modules 00009 extern Timer timeout; 00010 extern volatile int totBytesReceived; 00011 extern volatile int fileBufReceivePtr; 00012 extern volatile int fileBufSendPtr; 00013 extern volatile int fileReceiveComplete; 00014 extern volatile int fileError; 00015 extern volatile char fileOverSerialBuffer[]; 00016 00017 void fileReceiveInit( void ); 00018 char filePullData ( void ) ; 00019 void filePushData ( char byte ) ; 00020 bool isFilePullComplete( void ); 00021 00022 #endif
Generated on Sat Jul 16 2022 05:01:30 by
1.7.2