/****************************************************************Copyright(c) 2020思特诺(Stduino)All right reserved.**This library is open source and free for individual users.**For commercial use, please contact service001@stduino.com.***************************************************************/#ifndef StduinoMemory_h#define StduinoMemory_h#ifdef __cplusplusextern "C" {#endif#define BlockSize (32)#define MemorySize (800*2)#define MemoryMapSize (MemorySize/BlockSize)struct STDUINOMEMORY{void (*Begin)(void);unsigned char (*MemoryUsed)(void);unsigned char MemoryBasic[MemorySize];unsigned short MemoryMap[MemoryMapSize];unsigned char MemoryReadyFlag;};extern struct STDUINOMEMORY StduinoMemory;void MEMCPY(void *des,void *src,unsigned long len);void MEMSET(void *s,unsigned char c,unsigned long count);void *MEMMOVE( void *dest , const void *src , unsigned int count);void INIT(void);unsigned long MALLOC(unsigned long size);unsigned char FREE(unsigned long offset);unsigned char PERUSED(void);void Stduino_free(void *ptr);void *Stduino_malloc(unsigned long size);void *Stduino_realloc(void *ptr,unsigned long size);#ifdef __cplusplus}#endif#endif/****************************************************************Copyright(c) 2020思特诺(Stduino)All right reserved.**This library is open source and free for individual users.**For commercial use, please contact service001@stduino.com.***************************************************************/
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。