#define OS_ERRNO_HWI_MODE_INVALID   LOS_ERRNO_OS_ERROR(LOS_MOD_HWI, 0x06)

Hardware interrupt error code: Incorrect interrupt creation mode.

Value: 0x02000906

Solution: The interrupt creation mode can be only set to OS_HWI_MODE_COMM or OS_HWI_MODE_FAST of which the value can be 0 or 1.

在文件los_hwi.h242行定义。