Ai
7 Star 20 Fork 6

THEWON/rt_thread_repo

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
od_cmds.h 1.25 KB
一键复制 编辑 原始数据 按行查看 历史
thewon 提交于 2022-04-02 12:46 +08:00 . update to 4.1.0
/*
* Copyright (c) 2021-2021, THEWON
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2021-10-11 THEWON add h file; add public reference api
* 2021-10-13 THEWON add -a argument, list all objects
*/
#ifndef __OD_CMDS_H__
#define __OD_CMDS_H__
#ifdef __cplusplus
extern "C" {
#endif
void od_set_group_size(int group_sz);
void od_set_line_size(int line_sz);
void od_mem(unsigned int start_addr, unsigned int end_addr);
int od_thread(char *name);
int od_all_thread(void);
#ifdef RT_USING_SEMAPHORE
int od_sem(char *name);
int od_all_sem(void);
#endif
#ifdef RT_USING_EVENT
int od_event(char *name);
int od_all_event(void);
#endif
#ifdef RT_USING_MUTEX
int od_mutex(char *name);
int od_all_mutex(void);
#endif
#ifdef RT_USING_MAILBOX
int od_mailbox(char *name);
int od_all_mailbox(void);
#endif
#ifdef RT_USING_MESSAGEQUEUE
int od_msgqueue(char *name);
int od_all_msgqueue(void);
#endif
#ifdef RT_USING_MEMHEAP
int od_memheap(char *name);
int od_memheap_item(unsigned int start_addr);
int od_all_memheap(void);
#endif
#ifdef RT_USING_MEMPOOL
int od_mempool(char *name);
int od_all_mempool(void);
#endif
int od_timer(char *name);
int od_all_timer(void);
#ifdef __cplusplus
}
#endif
#endif // __OD_CMDS_H__
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/thewon/rt_thread_repo.git
git@gitee.com:thewon/rt_thread_repo.git
thewon
rt_thread_repo
rt_thread_repo
master

搜索帮助