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.
Dependencies: EthernetInterface mbed-rtos
PortBuffer.h
00001 #ifndef PORT_BUFFER_HEADER_INCLUDED 00002 #define PORT_BUFFER_HEADER_INCLUDED 00003 00004 00005 00006 #ifdef __cplusplus 00007 extern "C" { 00008 #endif 00009 00010 struct _PortBuffer; 00011 00012 typedef struct _PortBuffer PortBuffer; 00013 struct _PortBuffer { 00014 void(*push)(PortBuffer* _this, const int8_t* data, uint8_t size); 00015 void(*pop)(PortBuffer* _this, int8_t* data, uint8_t size); 00016 uint8_t(*getNextDataSize)(PortBuffer* _this); 00017 uint8_t(*hasNext)(PortBuffer *_this); 00018 void* privateData; 00019 }; 00020 00021 #ifdef __cplusplus 00022 } 00023 #endif 00024 00025 00026 00027 00028 #endif // #ifndef PORT_BUFFER_HEADER_INCLUDED
Generated on Fri Jul 22 2022 21:22:49 by
1.7.2