结构体 | |
struct | tagSwTmrCtrl |
类型定义 | |
typedef VOID(* | SWTMR_PROC_FUNC) (UINTPTR arg) |
Define the type of a callback function that handles software timer timeout. 更多... | |
typedef struct tagSwTmrCtrl | SWTMR_CTRL_S |
枚举 | |
enum | enSwTmrType { LOS_SWTMR_MODE_ONCE , LOS_SWTMR_MODE_PERIOD , LOS_SWTMR_MODE_NO_SELFDELETE , LOS_SWTMR_MODE_OPP } |
函数 | |
UINT32 | LOS_SwtmrStart (UINT16 swtmrID) |
Start a software timer. 更多... | |
UINT32 | LOS_SwtmrStop (UINT16 swtmrID) |
Stop a software timer. 更多... | |
UINT32 | LOS_SwtmrTimeGet (UINT16 swtmrID, UINT32 *tick) |
Obtain the number of remaining Ticks configured on a software timer. 更多... | |
UINT32 | LOS_SwtmrCreate (UINT32 interval, UINT8 mode, SWTMR_PROC_FUNC handler, UINT16 *swtmrID, UINTPTR arg) |
Create a software timer. 更多... | |
UINT32 | LOS_SwtmrDelete (UINT16 swtmrID) |
Delete a software timer. 更多... | |