TuyaOS
函数
tal_watchdog.h 文件参考

Common process - adapter the watchdog api 更多...

#include "tuya_cloud_types.h"
tal_watchdog.h 的引用(Include)关系图:

浏览源代码.

函数

OPERATE_RET tal_watchdog_refresh (VOID_T)
 refresh watch dog 更多...
 
UINT32_T tal_watchdog_start (TUYA_WDOG_BASE_CFG_T *cfg)
 watchdog start 更多...
 
OPERATE_RET tal_watchdog_stop (VOID_T)
 watchdog stop 更多...
 

详细描述

Common process - adapter the watchdog api

版本
0.1
日期
2021-08-25

函数说明

◆ tal_watchdog_refresh()

OPERATE_RET tal_watchdog_refresh ( VOID_T  )

refresh watch dog

参数
[in]none
返回
OPRT_OK on success. Others on error, please refer to tuya_error_code.h

◆ tal_watchdog_start()

UINT32_T tal_watchdog_start ( TUYA_WDOG_BASE_CFG_T *  cfg)

watchdog start

参数
[in]cfgwatchdog config
返回
>0 on success. Others on error

◆ tal_watchdog_stop()

OPERATE_RET tal_watchdog_stop ( VOID_T  )

watchdog stop

参数
[in]none
返回
OPRT_OK on success. Others on error, please refer to tuya_error_code.h