Searched refs:aos_gpioc_ref_t (Results 1 – 5 of 5) sorted by relevance
/AliOS-Things-master/components/drivers/peripheral/gpio/include/aos/ |
A D | gpioc.h | 11 typedef aos_dev_ref_t aos_gpioc_ref_t; typedef 23 aos_status_t aos_gpioc_get(aos_gpioc_ref_t *ref, uint32_t id); 29 void aos_gpioc_put(aos_gpioc_ref_t *ref); 35 aos_status_t aos_gpioc_get_num_pins(aos_gpioc_ref_t *ref); 43 aos_status_t aos_gpioc_get_mode(aos_gpioc_ref_t *ref, uint32_t pin, uint32_t *mode); 51 aos_status_t aos_gpioc_set_mode(aos_gpioc_ref_t *ref, uint32_t pin, uint32_t mode); 61 aos_status_t aos_gpioc_set_mode_irq(aos_gpioc_ref_t *ref, uint32_t pin, uint32_t mode, 69 aos_status_t aos_gpioc_get_value(aos_gpioc_ref_t *ref, uint32_t pin); 77 aos_status_t aos_gpioc_set_value(aos_gpioc_ref_t *ref, uint32_t pin, int val); 84 aos_status_t aos_gpioc_toggle(aos_gpioc_ref_t *ref, uint32_t pin);
|
/AliOS-Things-master/components/drivers/peripheral/gpio/src/ |
A D | gpioc.c | 22 aos_status_t aos_gpioc_get(aos_gpioc_ref_t *ref, uint32_t id) in aos_gpioc_get() 27 void aos_gpioc_put(aos_gpioc_ref_t *ref) in aos_gpioc_put() 32 aos_status_t aos_gpioc_get_num_pins(aos_gpioc_ref_t *ref) in aos_gpioc_get_num_pins() 44 aos_status_t aos_gpioc_get_mode(aos_gpioc_ref_t *ref, uint32_t pin, uint32_t *mode) in aos_gpioc_get_mode() 63 aos_status_t aos_gpioc_set_mode(aos_gpioc_ref_t *ref, uint32_t pin, uint32_t mode) in aos_gpioc_set_mode() 111 aos_status_t aos_gpioc_set_mode_irq(aos_gpioc_ref_t *ref, uint32_t pin, uint32_t mode, in aos_gpioc_set_mode_irq() 267 aos_status_t aos_gpioc_get_value(aos_gpioc_ref_t *ref, uint32_t pin) in aos_gpioc_get_value() 296 aos_status_t aos_gpioc_set_value(aos_gpioc_ref_t *ref, uint32_t pin, int val) in aos_gpioc_set_value() 330 aos_status_t aos_gpioc_toggle(aos_gpioc_ref_t *ref, uint32_t pin) in aos_gpioc_toggle()
|
/AliOS-Things-master/solutions/genie_mesh_demo/light_ctl/ |
A D | light_driver.c | 24 aos_gpioc_ref_t gpioc; in light_driver_init() 70 aos_gpioc_ref_t gpioc; in light_set()
|
/AliOS-Things-master/components/amp_adapter/platform/aos/peripheral/ |
A D | aos_hal_gpio.c | 34 aos_gpioc_ref_t *gpioc; in aos_hal_gpio_init() 35 gpioc = aos_malloc(sizeof(aos_gpioc_ref_t)); in aos_hal_gpio_init()
|
/AliOS-Things-master/components/amp_adapter/include/peripheral/ |
A D | aos_hal_gpio.h | 51 aos_gpioc_ref_t *gpioc; /**gpio device fd*/
|
Completed in 6 milliseconds