TuyaOS
tkl_init.h
浏览该文件的文档.
1
10#ifndef __TKL_INIT_H__
11#define __TKL_INIT_H__
12
13#include "tuya_cloud_types.h"
14
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
25typedef struct tkl_ability {
26 BOOL_T wifi;
27 BOOL_T wired;
28 BOOL_T bt;
29 BOOL_T zigbee;
30 BOOL_T nbiot;
31 BOOL_T cellular;
32 BOOL_T cellular_mds;
33 BOOL_T cellular_sms;
34 BOOL_T cellular_vbat;
35 BOOL_T flash;
36 BOOL_T uart;
37 BOOL_T watchdog;
38 BOOL_T rtc;
39 BOOL_T adc;
40 BOOL_T pwm;
41 BOOL_T i2c;
42 BOOL_T spi;
43 BOOL_T gpio;
44 BOOL_T timer;
45 BOOL_T media;
46 BOOL_T display;
47 BOOL_T pm;
49
56OPERATE_RET tkl_init(VOID_T);
57
58
65CHAR_T * tkl_get_version(VOID_T);
66
67
75
76#ifdef __cplusplus
77} // extern "C"
78#endif
79
80#endif // __TKL_INIT_H__
81
the description of tuya kernel ability, it will used by auto test tool
Definition: tkl_init.h:25
CHAR_T * tkl_get_version(VOID_T)
get tuya kernel adapter layer version
struct tkl_ability TKL_ABILITY_T
the description of tuya kernel ability, it will used by auto test tool
TKL_ABILITY_T * tkl_get_ability(VOID_T)
get tuya kernel adapter layer configure
OPERATE_RET tkl_init(VOID_T)
tuya kernel adapter layer init