UINT32 LOS_Tick2MS ( UINT32  uwTick  ) 

Convert Ticks to milliseconds.

Description:
This API is used to convert Ticks to milliseconds.
注意:
  • The number of milliseconds obtained through the conversion is 32-bit.
参数:
参数名称 描述
uwTick  [IN] Number of Ticks. The value range is (0,OS_SYS_CLOCK).
返回值:
返回值 描述
UINT32  Number of milliseconds obtained through the conversion. Ticks are successfully converted to milliseconds.
Dependency:
  • los_sys.h: the header file that contains the API declaration.
参见:
LOS_MS2Tick
自从:
Huawei LiteOS V100R001C00