This is tal_sleep file
更多...
#include "tuya_cloud_types.h"
浏览源代码.
This is tal_sleep file
- 版本
- 1.0
- 日期
- 2021-08-18
- 版权所有
- Copyright 2020-2023 Tuya Inc. All Rights Reserved.
◆ tal_cpu_allow_sleep()
VOID_T tal_cpu_allow_sleep |
( |
VOID_T |
| ) |
|
◆ tal_cpu_force_wakeup()
VOID_T tal_cpu_force_wakeup |
( |
VOID_T |
| ) |
|
◆ tal_cpu_get_lp_mode()
BOOL_T tal_cpu_get_lp_mode |
( |
VOID_T |
| ) |
|
get cpu lowpower mode
- 参数
-
- 返回
- OPRT_OK on success. Others on error, please refer to tuya_error_code.h
◆ tal_cpu_lp_disable()
OPERATE_RET tal_cpu_lp_disable |
( |
VOID_T |
| ) |
|
cpu lowpower disable
- 参数
-
- 返回
- OPRT_OK on success. Others on error, please refer to tuya_error_code.h
◆ tal_cpu_lp_enable()
OPERATE_RET tal_cpu_lp_enable |
( |
VOID_T |
| ) |
|
cpu lowpower enable
- 参数
-
- 返回
- OPRT_OK on success. Others on error, please refer to tuya_error_code.h
◆ tal_cpu_set_lp_mode()
VOID_T tal_cpu_set_lp_mode |
( |
BOOL_T |
lp_enable | ) |
|
set cpu lowpower mode
- 参数
-
- 返回
- none
◆ tal_cpu_sleep_callback_register()
OPERATE_RET tal_cpu_sleep_callback_register |
( |
TUYA_SLEEP_CB_T * |
sleep_cb | ) |
|
sleep callback register
- 参数
-
[in] | sleep_cb | sleep callback |
- 返回
- OPRT_OK on success. Others on error, please refer to tuya_error_code.h