|
WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
|

宏定义 | |
| #define | SYS_INIT_LEVEL_EARLY 0 /* reserved before kernel init */ |
| #define | SYS_INIT_SYNC_0 s0 |
| #define | LOS_SYS_INIT(func, level, sync) SYS_INITCALL(func, level, sync) |
| Register a startup module to the startup process. | |
| #define LOS_SYS_INIT | ( | func, | |
| level, | |||
| sync | |||
| ) | SYS_INITCALL(func, level, sync) |
Register a startup module to the startup process.
| func | [IN] Type UINT32 (*)(VOID) Register function. |
| level | [IN] Type UINT32 Init level in the kernel. |
| sync | [IN] Type UINT32 Init sync in the kernel. |
| None |
| #define SYS_INIT_LEVEL_EARLY 0 /* reserved before kernel init */ |
Kernel module init level, used to describe the startup stage. Smaller level number, excute earlier. SYS_INIT_LEVEL_EARLY and SYS_INIT_LEVEL_RESERVE reserve for user and other level used for LiteOS.
| #define SYS_INIT_SYNC_0 s0 |
Kernel Module Init sync, used to set up the priority in same level. Smaller sync number, excute earlier.