Home
last modified time | relevance | path

Searched refs:gpio_pin_handle_t (Results 1 – 3 of 3) sorted by relevance

/AliOS-Things-master/hardware/chip/smarth_rv64/include/
A Ddrv_gpio.h25 typedef void *gpio_pin_handle_t; typedef
66 gpio_pin_handle_t csi_gpio_pin_initialize(int32_t gpio_pin, gpio_event_cb_t cb_event);
73 int32_t csi_gpio_pin_uninitialize(gpio_pin_handle_t handle);
81 int32_t csi_gpio_power_control(gpio_pin_handle_t handle, csi_power_stat_e state);
89 int32_t csi_gpio_pin_config_mode(gpio_pin_handle_t handle,
98 int32_t csi_gpio_pin_config_direction(gpio_pin_handle_t handle,
108 int32_t csi_gpio_pin_config(gpio_pin_handle_t handle,
118 int32_t csi_gpio_pin_write(gpio_pin_handle_t handle, bool value);
126 int32_t csi_gpio_pin_read(gpio_pin_handle_t handle, bool *value);
135 int32_t csi_gpio_pin_set_irq(gpio_pin_handle_t handle, gpio_irq_mode_e mode, bool enable);
/AliOS-Things-master/components/csi/csi1/include/drv/
A Dgpio.h25 typedef void *gpio_pin_handle_t; typedef
66 gpio_pin_handle_t csi_gpio_pin_initialize(int32_t gpio_pin, gpio_event_cb_t cb_event);
73 int32_t csi_gpio_pin_uninitialize(gpio_pin_handle_t handle);
81 int32_t csi_gpio_power_control(gpio_pin_handle_t handle, csi_power_stat_e state);
89 int32_t csi_gpio_pin_config_mode(gpio_pin_handle_t handle,
98 int32_t csi_gpio_pin_config_direction(gpio_pin_handle_t handle,
108 int32_t csi_gpio_pin_config(gpio_pin_handle_t handle,
118 int32_t csi_gpio_pin_write(gpio_pin_handle_t handle, bool value);
126 int32_t csi_gpio_pin_read(gpio_pin_handle_t handle, bool *value);
135 int32_t csi_gpio_pin_set_irq(gpio_pin_handle_t handle, gpio_irq_mode_e mode, bool enable);
/AliOS-Things-master/hardware/chip/smarth_rv64/smarth_rv64/
A Ddw_gpio.c175 static void gpio_irq_clear(gpio_pin_handle_t pin, uint32_t idx) in gpio_irq_clear()
194 static void gpio_irq_enable(gpio_pin_handle_t pin) in gpio_irq_enable()
216 static void gpio_irq_disable(gpio_pin_handle_t pin) in gpio_irq_disable()
331 static void manage_clock(gpio_pin_handle_t handle, uint8_t enable) in manage_clock()
400 return (gpio_pin_handle_t)gpio_pin_priv; in csi_gpio_pin_initialize()
408 int32_t csi_gpio_pin_uninitialize(gpio_pin_handle_t handle) in csi_gpio_pin_uninitialize()
451 int32_t csi_gpio_pin_config_mode(gpio_pin_handle_t handle, in csi_gpio_pin_config_mode()
471 int32_t csi_gpio_pin_config_direction(gpio_pin_handle_t handle, in csi_gpio_pin_config_direction()
501 int32_t csi_gpio_pin_config(gpio_pin_handle_t handle, in csi_gpio_pin_config()
533 int32_t csi_gpio_pin_write(gpio_pin_handle_t handle, bool value) in csi_gpio_pin_write()
[all …]

Completed in 5 milliseconds