Home
last modified time | relevance | path

Searched refs:aos_dev_ref_t (Results 1 – 15 of 15) sorted by relevance

/AliOS-Things-master/components/drivers/core/base/include/aos/
A Ddevice.h35 } aos_dev_ref_t; typedef
38 #define aos_dev_ref_init(ref) do { *(ref) = (aos_dev_ref_t)AOS_DEV_REF_INIT_VAL; } while …
45 aos_status_t aos_dev_get(aos_dev_ref_t *ref, aos_dev_type_t type, uint32_t id);
46 void aos_dev_put(aos_dev_ref_t *ref);
A Ddevice_core.h21 aos_status_t (*get)(aos_dev_ref_t *);
22 void (*put)(aos_dev_ref_t *);
58 aos_status_t aos_dev_ref(aos_dev_ref_t *ref, aos_dev_t *dev);
/AliOS-Things-master/components/drivers/peripheral/pwm/include/aos/
A Dpwm.h43 typedef aos_dev_ref_t aos_pwm_ref_t; /**< PWM设备的引用 */
/AliOS-Things-master/components/drivers/core/base/src/
A Ddevice.c225 aos_status_t aos_dev_ref(aos_dev_ref_t *ref, aos_dev_t *dev) in aos_dev_ref()
267 aos_status_t aos_dev_get(aos_dev_ref_t *ref, aos_dev_type_t type, uint32_t id) in aos_dev_get()
291 void aos_dev_put(aos_dev_ref_t *ref) in aos_dev_put()
/AliOS-Things-master/components/drivers/peripheral/uart/include/aos/
A Dtty.h11 typedef aos_dev_ref_t aos_tty_ref_t;
/AliOS-Things-master/components/drivers/peripheral/i2c/include/aos/
A Di2c.h15 typedef aos_dev_ref_t aos_i2c_ref_t;
/AliOS-Things-master/components/drivers/peripheral/pwm/src/
A Dpwm.c99 static aos_status_t dev_pwm_get(aos_dev_ref_t *ref) in dev_pwm_get()
108 static void dev_pwm_put(aos_dev_ref_t *ref) in dev_pwm_put()
/AliOS-Things-master/components/drivers/peripheral/adc/include/aos/
A Dadc.h31 typedef aos_dev_ref_t aos_adc_ref_t; /**< ADC设备的引用 */
/AliOS-Things-master/components/drivers/peripheral/gpio/include/aos/
A Dgpioc.h11 typedef aos_dev_ref_t aos_gpioc_ref_t;
/AliOS-Things-master/components/drivers/peripheral/spi/include/aos/
A Dspi.h23 typedef aos_dev_ref_t aos_spi_ref_t;
/AliOS-Things-master/components/drivers/peripheral/adc/src/
A Dadc.c143 static aos_status_t dev_adc_get(aos_dev_ref_t *ref) in dev_adc_get()
153 static void dev_adc_put(aos_dev_ref_t *ref) in dev_adc_put()
/AliOS-Things-master/components/drivers/peripheral/i2c/src/
A Di2c.c178 static aos_status_t dev_i2c_get(aos_dev_ref_t *ref) in dev_i2c_get()
193 static void dev_i2c_put(aos_dev_ref_t *ref) in dev_i2c_put()
/AliOS-Things-master/components/drivers/peripheral/spi/src/
A Dspi.c214 static aos_status_t dev_spi_get(aos_dev_ref_t *ref) in dev_spi_get()
229 static void dev_spi_put(aos_dev_ref_t *ref) in dev_spi_put()
/AliOS-Things-master/components/drivers/peripheral/gpio/src/
A Dgpioc.c391 static aos_status_t dev_gpioc_get(aos_dev_ref_t *ref) in dev_gpioc_get()
396 static void dev_gpioc_put(aos_dev_ref_t *ref) in dev_gpioc_put()
/AliOS-Things-master/components/drivers/peripheral/uart/src/
A Dtty.c587 static aos_status_t dev_tty_get(aos_dev_ref_t *ref) in dev_tty_get()
608 static void dev_tty_put(aos_dev_ref_t *ref) in dev_tty_put()

Completed in 15 milliseconds