Home
last modified time | relevance | path

Searched defs:gpio (Results 1 – 25 of 26) sorted by relevance

12

/AliOS-Things-master/components/amp_adapter/platform/aos/peripheral/
A Daos_hal_gpio.c21 int32_t aos_hal_gpio_init(gpio_dev_t *gpio) in aos_hal_gpio_init()
138 int32_t aos_hal_gpio_output_high(gpio_dev_t *gpio) in aos_hal_gpio_output_high()
152 int32_t aos_hal_gpio_output_low(gpio_dev_t *gpio) in aos_hal_gpio_output_low()
166 int32_t aos_hal_gpio_output_toggle(gpio_dev_t *gpio) in aos_hal_gpio_output_toggle()
178 int32_t aos_hal_gpio_get(gpio_dev_t *gpio) in aos_hal_gpio_get()
184 int32_t aos_hal_gpio_input_get(gpio_dev_t *gpio, uint32_t *value) in aos_hal_gpio_input_get()
195 int32_t aos_hal_gpio_enable_irq(gpio_dev_t *gpio, gpio_irq_trigger_t trigger, in aos_hal_gpio_enable_irq()
253 int32_t aos_hal_gpio_disable_irq(gpio_dev_t *gpio) in aos_hal_gpio_disable_irq()
274 int32_t aos_hal_gpio_clear_irq(gpio_dev_t *gpio) in aos_hal_gpio_clear_irq()
283 int32_t aos_hal_gpio_finalize(gpio_dev_t *gpio) in aos_hal_gpio_finalize()
/AliOS-Things-master/hardware/chip/rtl872xd/hal/
A Dgpio.c127 int32_t hal_gpio_init( gpio_dev_t *gpio ) in hal_gpio_init()
167 int32_t hal_gpio_deinit( gpio_dev_t *gpio ) in hal_gpio_deinit()
177 int32_t hal_gpio_output_high( gpio_dev_t* gpio ) in hal_gpio_output_high()
187 int32_t hal_gpio_output_low( gpio_dev_t* gpio ) in hal_gpio_output_low()
197 int32_t hal_gpio_output_toggle( gpio_dev_t* gpio ) in hal_gpio_output_toggle()
207 int32_t hal_gpio_input_get(gpio_dev_t *gpio, uint32_t *value) in hal_gpio_input_get()
217 int32_t hal_gpio_get(gpio_dev_t *gpio, uint32_t *value) in hal_gpio_get()
225 int32_t hal_gpio_enable_irq(gpio_dev_t *gpio, gpio_irq_trigger_t trigger, gpio_irq_handler_t handle… in hal_gpio_enable_irq()
256 int32_t hal_gpio_clear_irq( gpio_dev_t* gpio ) in hal_gpio_clear_irq()
267 int32_t hal_gpio_finalize(gpio_dev_t *gpio) in hal_gpio_finalize()
[all …]
/AliOS-Things-master/components/amp_adapter/platform/linux/peripheral/
A Daos_hal_gpio.c21 int32_t aos_hal_gpio_init(gpio_dev_t *gpio) in aos_hal_gpio_init()
27 int32_t aos_hal_gpio_output_high(gpio_dev_t *gpio) in aos_hal_gpio_output_high()
33 int32_t aos_hal_gpio_output_low(gpio_dev_t *gpio) in aos_hal_gpio_output_low()
39 int32_t aos_hal_gpio_output_toggle(gpio_dev_t *gpio) in aos_hal_gpio_output_toggle()
44 int32_t aos_hal_gpio_input_get(gpio_dev_t *gpio, uint32_t *value) in aos_hal_gpio_input_get()
59 int32_t aos_hal_gpio_enable_irq(gpio_dev_t *gpio, gpio_irq_trigger_t trigger, gpio_irq_handler_t ha… in aos_hal_gpio_enable_irq()
73 int32_t aos_hal_gpio_disable_irq(gpio_dev_t *gpio) in aos_hal_gpio_disable_irq()
78 int32_t aos_hal_gpio_clear_irq(gpio_dev_t *gpio) in aos_hal_gpio_clear_irq()
83 int32_t aos_hal_gpio_finalize(gpio_dev_t *gpio) in aos_hal_gpio_finalize()
/AliOS-Things-master/hardware/chip/haas1000/hal/
A Dgpio.c28 int32_t hal_gpio_init(gpio_dev_t *gpio) in hal_gpio_init()
61 int32_t hal_gpio_output_high(gpio_dev_t *gpio) in hal_gpio_output_high()
77 int32_t hal_gpio_output_low(gpio_dev_t *gpio) in hal_gpio_output_low()
92 int32_t hal_gpio_output_toggle(gpio_dev_t *gpio) in hal_gpio_output_toggle()
111 int32_t hal_gpio_input_get(gpio_dev_t *gpio, uint32_t *value) in hal_gpio_input_get()
124 int32_t hal_gpio_get(gpio_dev_t *gpio, uint32_t *value) in hal_gpio_get()
170 int32_t hal_gpio_enable_irq(gpio_dev_t *gpio, gpio_irq_trigger_t trigger, in hal_gpio_enable_irq()
205 int32_t hal_gpio_disable_irq(gpio_dev_t *gpio) in hal_gpio_disable_irq()
227 int32_t hal_gpio_clear_irq(gpio_dev_t *gpio) in hal_gpio_clear_irq()
248 int32_t hal_gpio_finalize(gpio_dev_t *gpio) in hal_gpio_finalize()
/AliOS-Things-master/hardware/chip/rtl872xd/csi_driver/gpio/
A Dgpio.c11 static void user_interrupt_handler(csi_gpio_t *gpio, uint32_t id) in user_interrupt_handler()
21 csi_error_t csi_gpio_init(csi_gpio_t *gpio, uint32_t port_idx) in csi_gpio_init()
38 void csi_gpio_uninit(csi_gpio_t *gpio) in csi_gpio_uninit()
52 csi_error_t csi_gpio_dir(csi_gpio_t *gpio, uint32_t pin_mask, csi_gpio_dir_t dir) in csi_gpio_dir()
74 csi_error_t csi_gpio_mode(csi_gpio_t *gpio, uint32_t pin_mask, csi_gpio_mode_t mode) in csi_gpio_mode()
171 csi_error_t csi_gpio_irq_enable(csi_gpio_t *gpio, uint32_t pin_mask, bool enable) in csi_gpio_irq_enable()
188 void csi_gpio_write(csi_gpio_t *gpio, uint32_t pin_mask, csi_gpio_pin_state_t value) in csi_gpio_write()
204 void csi_gpio_toggle(csi_gpio_t *gpio, uint32_t pin_mask) in csi_gpio_toggle()
221 uint32_t csi_gpio_read(csi_gpio_t *gpio, uint32_t pin_mask) in csi_gpio_read()
239 csi_error_t csi_gpio_attach_callback(csi_gpio_t *gpio, void *callback, void *arg) in csi_gpio_attach_callback()
[all …]
/AliOS-Things-master/hardware/chip/haas1000/csi/
A Dgpio.c15 csi_error_t csi_gpio_init(csi_gpio_t *gpio, uint32_t port_idx) in csi_gpio_init()
30 void csi_gpio_uninit(csi_gpio_t *gpio) in csi_gpio_uninit()
34 csi_error_t csi_gpio_dir(csi_gpio_t *gpio, uint32_t pin_mask, csi_gpio_dir_t dir) in csi_gpio_dir()
59 csi_error_t csi_gpio_mode(csi_gpio_t *gpio, uint32_t pin_mask, csi_gpio_mode_t mode) in csi_gpio_mode()
108 csi_error_t csi_gpio_irq_mode(csi_gpio_t *gpio, uint32_t pin_mask, csi_gpio_irq_mode_t mode) in csi_gpio_irq_mode()
135 csi_gpio_t *gpio; in irq_handler() local
144 csi_error_t csi_gpio_irq_enable(csi_gpio_t *gpio, uint32_t pin_mask, bool enable) in csi_gpio_irq_enable()
179 void csi_gpio_write(csi_gpio_t *gpio, uint32_t pin_mask, csi_gpio_pin_state_t value) in csi_gpio_write()
195 uint32_t csi_gpio_read(csi_gpio_t *gpio, uint32_t pin_mask) in csi_gpio_read()
215 csi_error_t csi_gpio_attach_callback(csi_gpio_t *gpio, void *callback, void *arg) in csi_gpio_attach_callback()
[all …]
/AliOS-Things-master/components/py_engine/tests/haas/HaaSEdu/python-apps/driver/led/
A Dmain.py7 gpio = GPIO() variable
/AliOS-Things-master/components/py_engine/tests/haas/HaaS100/python-apps/driver/gpio/
A Dmain.py11 gpio = GPIO() variable
/AliOS-Things-master/components/py_engine/tests/haas/HaaS200/python-apps/driver/gpio/
A Dmain.py11 gpio = GPIO() variable
/AliOS-Things-master/components/py_engine/tests/haas/HaaSEdu/python-apps/driver/gpio/
A Dmain.py11 gpio = GPIO() variable
/AliOS-Things-master/hardware/board/haaseduk1/drivers/
A Dkey.c52 int find_key_index(gpio_dev_t *gpio) in find_key_index()
132 static void key_rising_edge_handle(gpio_dev_t *gpio) in key_rising_edge_handle()
186 static void key_falling_edge_handle(gpio_dev_t *gpio) in key_falling_edge_handle()
/AliOS-Things-master/components/py_engine/tests/haas/HaaS100/python-apps/driver/led/
A Dmain.py7 gpio = GPIO() variable
/AliOS-Things-master/components/py_engine/tests/haas/HaaS200/python-apps/driver/led/
A Dmain.py7 gpio = GPIO() variable
/AliOS-Things-master/components/amp/example-js/
A Dgpio.js1 var gpio = require('gpio'); variable
/AliOS-Things-master/components/amp/test/
A Dtest_sh1106.js1 var gpio = require('gpio'); variable
/AliOS-Things-master/components/csi/csi2/include/drv/
A Dgpio_pin.h33 csi_gpio_t *gpio; member
/AliOS-Things-master/components/amp/engine/duktape_engine/addons/hardware/ir/
A Dmodule_ir.c122 static uint32_t ir_counts(gpio_dev_t *gpio, uint8_t level) in ir_counts()
135 static uint32_t ir_nec(gpio_dev_t *gpio) in ir_nec()
258 gpio_dev_t *gpio = (gpio_dev_t *)arg; in ir_handle() local
/AliOS-Things-master/solutions/javascript_demo/agriculture_demo/
A Ddht11.js1 var gpio = require("gpio"); variable
A Dapp.js4 var gpio = require('gpio'); variable
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/hardware/ir/
A Dmodule_ir.c131 static uint32_t ir_counts(gpio_dev_t *gpio, uint8_t level) in ir_counts()
144 static uint32_t ir_nec(gpio_dev_t *gpio) in ir_nec()
358 gpio_dev_t *gpio = (gpio_dev_t *)arg; in ir_handle() local
/AliOS-Things-master/components/amp/libjs/
A Dgenerator.js20 gpio: 'JSE_HW_ADDON_GPIO', property in macro4libjs
/AliOS-Things-master/components/amp/engine/duktape_engine/addons/hardware/gpio/
A Dmodule_gpio.c201 gpio_dev_t *gpio = (gpio_dev_t *)arg; in gpio_irq() local
/AliOS-Things-master/components/drivers/peripheral/gpio/src/
A Dgpioc_csi.c227 #define get_polarity(gpio, pin) (!!(csi_gpio_read(gpio, (uint32_t)1 << (pin)) & ((uint32_t)1 << (pi… argument
/AliOS-Things-master/components/py_engine/modules/driver/
A Dboard_mgr.c87 static int8_t board_parse_gpio(cJSON *gpio, char *id) in board_parse_gpio()
/AliOS-Things-master/components/amp/services/board_mgr/
A Dboard_mgr.c95 static int8_t board_parse_gpio(cJSON *gpio, char *id) in board_parse_gpio()

Completed in 38 milliseconds

12