Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
weixin_46254178
rt-thread
提交
b2e2ab28
R
rt-thread
项目概览
weixin_46254178
/
rt-thread
与 Fork 源项目一致
Fork自
RT-Thread / rt-thread
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
rt-thread
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
b2e2ab28
编写于
3月 29, 2022
作者:
G
guo
提交者:
GitHub
3月 29, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[update] Fix some spelling mistakes. (#5738)
上级
f9245ef6
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
17 addition
and
17 deletion
+17
-17
components/drivers/include/ipc/workqueue.h
components/drivers/include/ipc/workqueue.h
+1
-1
include/rtdef.h
include/rtdef.h
+15
-15
include/rthw.h
include/rthw.h
+1
-1
未找到文件。
components/drivers/include/ipc/workqueue.h
浏览文件 @
b2e2ab28
...
...
@@ -20,7 +20,7 @@ enum
};
/**
* work type defitions
* work type defi
ni
tions
*/
enum
{
...
...
include/rtdef.h
浏览文件 @
b2e2ab28
...
...
@@ -39,7 +39,7 @@
* 2021-11-19 Meco Man change version number to v4.1.0
* 2021-12-21 Meco Man re-implement RT_UNUSED
* 2022-01-01 Gabriel improve hooking method
* 2022-01-07 Gabriel move some __on_rt_xxxxx_hook to dedicated c soure files
* 2022-01-07 Gabriel move some __on_rt_xxxxx_hook to dedicated c sour
c
e files
* 2022-01-12 Meco Man remove RT_THREAD_BLOCK
*/
...
...
@@ -106,17 +106,17 @@ typedef rt_base_t rt_off_t; /**< Type for offset */
/**@}*/
/* maximum value of base type */
#define RT_UINT8_MAX 0xff
/**< Maxium number of UINT8 */
#define RT_UINT16_MAX 0xffff
/**< Maxium number of UINT16 */
#define RT_UINT32_MAX 0xffffffff
/**< Maxium number of UINT32 */
#define RT_TICK_MAX RT_UINT32_MAX
/**< Maxium number of tick */
#define RT_UINT8_MAX 0xff
/**< Maxi
m
um number of UINT8 */
#define RT_UINT16_MAX 0xffff
/**< Maxi
m
um number of UINT16 */
#define RT_UINT32_MAX 0xffffffff
/**< Maxi
m
um number of UINT32 */
#define RT_TICK_MAX RT_UINT32_MAX
/**< Maxi
m
um number of tick */
/* maximum value of ipc type */
#define RT_SEM_VALUE_MAX RT_UINT16_MAX
/**< Maxium number of semaphore .value */
#define RT_MUTEX_VALUE_MAX RT_UINT16_MAX
/**< Maxium number of mutex .value */
#define RT_MUTEX_HOLD_MAX RT_UINT8_MAX
/**< Maxium number of mutex .hold */
#define RT_MB_ENTRY_MAX RT_UINT16_MAX
/**< Maxium number of mailbox .entry */
#define RT_MQ_ENTRY_MAX RT_UINT16_MAX
/**< Maxium number of message queue .entry */
#define RT_SEM_VALUE_MAX RT_UINT16_MAX
/**< Maxi
m
um number of semaphore .value */
#define RT_MUTEX_VALUE_MAX RT_UINT16_MAX
/**< Maxi
m
um number of mutex .value */
#define RT_MUTEX_HOLD_MAX RT_UINT8_MAX
/**< Maxi
m
um number of mutex .hold */
#define RT_MB_ENTRY_MAX RT_UINT16_MAX
/**< Maxi
m
um number of mailbox .entry */
#define RT_MQ_ENTRY_MAX RT_UINT16_MAX
/**< Maxi
m
um number of message queue .entry */
#define RT_UNUSED(x) ((void)x)
...
...
@@ -255,7 +255,7 @@ typedef int (*init_fn_t)(void);
#define INIT_BOARD_EXPORT(fn) INIT_EXPORT(fn, "1")
/* pre/device/component/env/app init routines will be called in init_thread */
/* components pre-initialization (pure software initilization) */
/* components pre-initialization (pure software initi
a
lization) */
#define INIT_PREV_EXPORT(fn) INIT_EXPORT(fn, "2")
/* device initialization */
#define INIT_DEVICE_EXPORT(fn) INIT_EXPORT(fn, "3")
...
...
@@ -263,7 +263,7 @@ typedef int (*init_fn_t)(void);
#define INIT_COMPONENT_EXPORT(fn) INIT_EXPORT(fn, "4")
/* environment initialization (mount disk, ...) */
#define INIT_ENV_EXPORT(fn) INIT_EXPORT(fn, "5")
/* appliation initialization (rtgui application etc ...) */
/* appli
c
ation initialization (rtgui application etc ...) */
#define INIT_APP_EXPORT(fn) INIT_EXPORT(fn, "6")
#if !defined(RT_USING_FINSH)
...
...
@@ -753,7 +753,7 @@ typedef struct rt_mutex *rt_mutex_t;
#ifdef RT_USING_EVENT
/**
* flag defintions in event
* flag defin
i
tions in event
*/
#define RT_EVENT_FLAG_AND 0x01
/**< logic and */
#define RT_EVENT_FLAG_OR 0x02
/**< logic or */
...
...
@@ -959,7 +959,7 @@ enum rt_device_class_type
};
/**
* device flags defitions
* device flags defi
ni
tions
*/
#define RT_DEVICE_FLAG_DEACTIVATE 0x000
/**< device is not not initialized */
...
...
@@ -1115,7 +1115,7 @@ struct rt_device_blk_sectors
#define RTGRAPHIC_CTRL_PAN_DISPLAY 10
#define RTGRAPHIC_CTRL_WAIT_VSYNC 11
/* graphic deice */
/* graphic de
v
ice */
enum
{
RTGRAPHIC_PIXEL_FORMAT_MONO
=
0
,
...
...
include/rthw.h
浏览文件 @
b2e2ab28
...
...
@@ -9,7 +9,7 @@
* 2006-04-25 Bernard add rt_hw_context_switch_interrupt declaration
* 2006-09-24 Bernard add rt_hw_context_switch_to declaration
* 2012-12-29 Bernard add rt_hw_exception_install declaration
* 2017-10-17 Hichard add some m
i
cros
* 2017-10-17 Hichard add some m
a
cros
* 2018-11-17 Jesven add rt_hw_spinlock_t
* add smp support
*/
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录