TuyaOS
gpio_test.h
浏览该文件的文档.
1
10#ifndef _GPIO_TEST_H
11#define _GPIO_TEST_H
12
13#include "tuya_pin.h"
14#include "tuya_iot_config.h"
15
19typedef struct {
20 INT_T ionum;
21 tuya_pin_name_t iopin[8];
23
28typedef struct {
29 INT_T group_num;
30 CTRL_GROUP group[20];
32
39VOID gpio_test_enabe(BOOL_T enable);
40
49
58BOOL_T gpio_test_all(IN CONST CHAR_T *in, OUT CHAR_T *out);
59
60#endif
VOID gpio_test_enabe(BOOL_T enable)
enable gpio test
BOOL_T gpio_test_all(IN CONST CHAR_T *in, OUT CHAR_T *out)
gpio test function
BOOL_T gpio_test_cb(GPIO_TEST_TABLE *table)
callback for gpio test
Definition group of control
Definition: gpio_test.h:19
Definition gpio test table
Definition: gpio_test.h:28