2021年12月16日

摘要: /** * The object type can be one of the follows with specific * macros enabled: * - Thread * - Process * - Semaphore * - Mutex * - Event * - MailBox * 阅读全文
posted @ 2021-12-16 01:08 lydstory 阅读(20) 评论(0) 推荐(0)
摘要: /* date type defination */ typedef signed char rt_int8_t; typedef signed short rt_int16_t; typedef signed long rt_int32_t; typedef unsigned char rt_ui 阅读全文
posted @ 2021-12-16 01:06 lydstory 阅读(66) 评论(0) 推荐(0)
摘要: struct rt_list_node { struct rt_list_node *next; /* point to next node. */ struct rt_list_node *prev; /* point to prev node. */ }; typedef struct rt_l 阅读全文
posted @ 2021-12-16 00:52 lydstory 阅读(22) 评论(0) 推荐(0)
摘要: #define RT_NULL ((void *)0) int main() { cout << sizeof(RT_NULL) << endl; cout << sizeof(NULL) << endl; system("PAUSE"); return 0; } 阅读全文
posted @ 2021-12-16 00:50 lydstory 阅读(113) 评论(0) 推荐(0)
摘要: struct rt_filesystem_interface { /* file api*/ int(*open)(const char *file, int flags, int mode); int(*close)(int d); }; 阅读全文
posted @ 2021-12-16 00:44 lydstory 阅读(51) 评论(0) 推荐(0)
摘要: lpc2478 电表 eth_device_ready lwip发送数据 ip支持 阅读全文
posted @ 2021-12-16 00:13 lydstory 阅读(30) 评论(0) 推荐(0)
摘要: unsigned char BIT_TEST(void *aptr, unsigned char p_nmb) { unsigned char *mem_byte; unsigned char byte_nu, bit_nu, i; mem_byte = (unsigned char *)aptr; 阅读全文
posted @ 2021-12-16 00:06 lydstory 阅读(127) 评论(0) 推荐(0)

导航