Documentation

Documentation

Includes

tuya_os_adapter.h

#include "tuya_os_adapter.h"
#include "tuya_os_adapter.h"

Macros

Marco _TUYA_HAL_OUTPUT_H

#define _TUYA_HAL_OUTPUT_H

      

Functions

Func tuya_hal_output_log

VOID_T tuya_hal_output_log(CONST CHAR_T *str);
/**
* @brief Output log information
*
* @param[in] str: log information
*
* @note This API is used for outputing log information
*
* @return OPRT_OK on success. Others on error, please refer to tuya_error_code.h
*/

Func tuya_hal_log_close

OPERATE_RET tuya_hal_log_close(VOID_T);
/**
* @brief Close log port
*
* @param VOID
*
* @note This API is used for closing log port.
*
* @return OPRT_OK on success. Others on error, please refer to tuya_error_code.h
*/

Func tuya_hal_log_open

OPERATE_RET tuya_hal_log_open(VOID_T);
/**
* @brief Open log port
*
* @param VOID
*
* @note This API is used for openning log port.
*
* @return OPRT_OK on success. Others on error, please refer to tuya_error_code.h
*/

Func tuya_os_output_intf_init

VOID_T tuya_os_output_intf_init(VOID_T);
/**
 * @brief Output interface initialization
 *
 * @param VOID
 *
 * @note This API is used for initialization of output interface.
 *
 * @return VOID
 */

Vars

Consts

Types

Typedefs