UINT32 LOS_MS2Tick ( UINT32  uwMillisec  ) 

Convert milliseconds to Ticks.

Description:
This API is used to convert milliseconds to Ticks.
注意:
  • If the parameter passed in is equal to 0xFFFFFFFF, the retval is 0xFFFFFFFF. Pay attention to the value to be converted because data possibly overflows.
参数:
参数名称 描述
uwMillisec  [IN] Number of milliseconds.
返回值:
返回值 描述
UINT32  Number of Ticks obtained through the conversion.
Dependency:
  • los_sys.h: the header file that contains the API declaration.
参见:
LOS_Tick2MS
自从:
Huawei LiteOS V100R001C00