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

宏定义 | |
| #define | LOS_ASSERT_COND(expression) LOS_ASSERT(expression) |
| Assertion. | |
| #define | LOS_NO_WAIT 0 |
| #define | LOS_WAIT_FOREVER 0xFFFFFFFF |
| #define | ALIGN(addr, boundary) LOS_Align(addr, boundary) |
| Align the value (addr) by some bytes (boundary). | |
| #define | TRUNCATE(addr, size) ((UINTPTR)(addr) & ~((size) - 1)) |
| Align the value (addr) by some bytes (size). | |
| #define | LOS_ASSERT(judge) |
| Assertion. | |
函数 | |
| UINTPTR | LOS_Align (UINTPTR addr, UINT32 boundary) |
| Align the address (addr) by some bytes (boundary) you specify. | |
| void | LOS_Msleep (UINT32 msecs) |
| Sleep the current task. | |
| #define ALIGN | ( | addr, | |
| boundary | |||
| ) | LOS_Align(addr, boundary) |
Align the value (addr) by some bytes (boundary).
| addr | [IN] Type UINTPTR The address you want to align. |
| boundary | [IN] Type UINT32 The alignment size. |
| UINTPTR | The address which have been aligned. |
| #define LOS_ASSERT | ( | judge | ) |
Assertion.
| judge | [IN] The judgement expression of the assertion. |
| None. |
| #define LOS_ASSERT_COND | ( | expression | ) | LOS_ASSERT(expression) |
Assertion.
| expression | [IN] The judgement expression of the assertion. |
| None. |
| #define LOS_NO_WAIT 0 |
Define the timeout interval as LOS_NO_WAIT.
| #define LOS_WAIT_FOREVER 0xFFFFFFFF |
Define the timeout interval as LOS_WAIT_FOREVER.
| #define TRUNCATE | ( | addr, | |
| size | |||
| ) | ((UINTPTR)(addr) & ~((size) - 1)) |
Align the value (addr) by some bytes (size).
| UINTPTR | The address which have been aligned. |
Align the address (addr) by some bytes (boundary) you specify.
| addr | [IN] Type UINTPTR The address you want to align. |
| boundary | [IN] Type UINT32 The alignment size. |
| UINTPTR | The address which have been aligned. |
|
extern |
Sleep the current task.
| msecs | [IN] Type UINT32 Milliseconds for which the task is delayed. |
| None |