TuyaOS
函数
tkl_watchdog.h 文件参考

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

#include "tuya_cloud_types.h"
tkl_watchdog.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

函数

OPERATE_RET tkl_watchdog_deinit (VOID_T)
 watchdog deinit 更多...
 
UINT32_T tkl_watchdog_init (TUYA_WDOG_BASE_CFG_T *cfg)
 watchdog init 更多...
 
OPERATE_RET tkl_watchdog_refresh (VOID_T)
 refresh watch dog 更多...
 

详细描述

Common process - adapter the watchdog api

版本
0.1
日期
2021-08-06

函数说明

◆ tkl_watchdog_deinit()

OPERATE_RET tkl_watchdog_deinit ( VOID_T  )

watchdog deinit

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

◆ tkl_watchdog_init()

UINT32_T tkl_watchdog_init ( TUYA_WDOG_BASE_CFG_T cfg)

watchdog init

参数
[in]cfgwatchdog config
返回
0, init error; >0 : the actually watchdog interval

◆ tkl_watchdog_refresh()

OPERATE_RET tkl_watchdog_refresh ( VOID_T  )

refresh watch dog

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