UINT32 LOS_HwiDelete ( HWI_HANDLE_T  uwHwiNum  ) 

Delete hardware interrupt.

Description:
This API is used to delete hardware interrupt.
注意:
  • The hardware interrupt module is usable only when the configuration item for hardware interrupt tailoring is enabled.
  • Hardware interrupt number value range: [OS_USER_HWI_MIN,OS_USER_HWI_MAX]. The value range applicable for a Cortex-A7 platform is [32,95].
  • OS_HWI_MAX_NUM specifies the maximum number of interrupts that can be created.
  • Before executing an interrupt on a platform, refer to the chip manual of the platform.
参数:
参数名称 描述
uwHwiNum  [IN] Type::HWI_HANDLE_T: hardware interrupt number. The value range applicable for a Cortex-A7 platform is [32,95].
返回值:
返回值 描述
OS_ERRNO_HWI_NUM_INVALID  0x02000900: Invalid interrupt number.
LOS_OK  0: The interrupt is successfully delete.
Dependency:
  • los_hwi.h: the header file that contains the API declaration.
参见:
None.
自从:
Huawei LiteOS V100R001C00