Home
last modified time | relevance | path

Searched refs:gpio (Results 1 – 25 of 57) sorted by relevance

123

/hal_espressif-3.7.0/components/hal/esp32c6/include/hal/
Drtc_io_ll.h67 LP_IO.gpio[rtcio_num].mcu_sel = RTCIO_LL_PIN_FUNC; in rtcio_ll_function_select()
118 LP_IO.gpio[rtcio_num].fun_ie = 1; in rtcio_ll_input_enable()
128 LP_IO.gpio[rtcio_num].fun_ie = 0; in rtcio_ll_input_disable()
150 LP_IO.gpio[rtcio_num].fun_drv = strength; in rtcio_ll_set_drive_capability()
161 return LP_IO.gpio[rtcio_num].fun_drv; in rtcio_ll_get_drive_capability()
183 LP_IO.gpio[rtcio_num].fun_wpu = 1; in rtcio_ll_pullup_enable()
194 LP_IO.gpio[rtcio_num].fun_wpu = 0; in rtcio_ll_pullup_disable()
205 LP_IO.gpio[rtcio_num].fun_wpd = 1; in rtcio_ll_pulldown_enable()
216 LP_IO.gpio[rtcio_num].fun_wpd = 0; in rtcio_ll_pulldown_disable()
298 LP_IO.gpio[gpio_num].mcu_oe = 1; in rtcio_ll_enable_output_in_sleep()
[all …]
Dgpio_ll.h406 static inline void gpio_ll_iomux_in(gpio_dev_t *hw, uint32_t gpio, uint32_t signal_idx) in gpio_ll_iomux_in() argument
409 PIN_INPUT_ENABLE(IO_MUX_GPIO0_REG + (gpio * 4)); in gpio_ll_iomux_in()
/hal_espressif-3.7.0/components/driver/deprecated/driver/
Drmt_types_legacy.h199 #define RMT_DEFAULT_CONFIG_TX(gpio, channel_id) \ argument
203 .gpio_num = gpio, \
223 #define RMT_DEFAULT_CONFIG_RX(gpio, channel_id) \ argument
227 .gpio_num = gpio, \
Dadc.h280 esp_err_t adc_vref_to_gpio(adc_unit_t adc_unit, gpio_num_t gpio);
/hal_espressif-3.7.0/components/driver/deprecated/
Dadc_legacy.c615 esp_err_t adc_vref_to_gpio(adc_unit_t adc_unit, gpio_num_t gpio) in adc_vref_to_gpio() argument
625 if (gpio == ADC_GET_IO_NUM(ADC_UNIT_2, i)) { in adc_vref_to_gpio()
684 struct gpio_dt_spec gpio; in adc_digi_gpio_init() local
686 gpio.port = DEVICE_DT_GET(DT_NODELABEL(gpio0)); in adc_digi_gpio_init()
687 gpio.dt_flags = 0; in adc_digi_gpio_init()
688 if (!device_is_ready(gpio.port)) { in adc_digi_gpio_init()
700 gpio.pin = io; in adc_digi_gpio_init()
701 gpio_pin_configure_dt(&gpio, GPIO_DISCONNECTED); in adc_digi_gpio_init()
711 esp_err_t adc_vref_to_gpio(adc_unit_t adc_unit, gpio_num_t gpio) in adc_vref_to_gpio() argument
717 if (gpio == ADC_GET_IO_NUM(ADC_UNIT_2, i)) { in adc_vref_to_gpio()
/hal_espressif-3.7.0/components/esp_rom/include/esp32c2/rom/
Dgpio.h111 void gpio_matrix_in(uint32_t gpio, uint32_t signal_idx, bool inv);
127 void gpio_matrix_out(uint32_t gpio, uint32_t signal_idx, bool out_inv, bool oen_inv);
/hal_espressif-3.7.0/components/esp_rom/include/esp32c3/rom/
Dgpio.h111 void gpio_matrix_in(uint32_t gpio, uint32_t signal_idx, bool inv);
127 void gpio_matrix_out(uint32_t gpio, uint32_t signal_idx, bool out_inv, bool oen_inv);
/hal_espressif-3.7.0/components/esp_rom/include/esp32c6/rom/
Dgpio.h111 void gpio_matrix_in(uint32_t gpio, uint32_t signal_idx, bool inv);
127 void gpio_matrix_out(uint32_t gpio, uint32_t signal_idx, bool out_inv, bool oen_inv);
/hal_espressif-3.7.0/components/esp_rom/include/esp32h2/rom/
Dgpio.h111 void gpio_matrix_in(uint32_t gpio, uint32_t signal_idx, bool inv);
127 void gpio_matrix_out(uint32_t gpio, uint32_t signal_idx, bool out_inv, bool oen_inv);
/hal_espressif-3.7.0/components/esp_rom/include/esp32s3/rom/
Dgpio.h112 void gpio_matrix_in(uint32_t gpio, uint32_t signal_idx, bool inv);
128 void gpio_matrix_out(uint32_t gpio, uint32_t signal_idx, bool out_inv, bool oen_inv);
/hal_espressif-3.7.0/zephyr/scripts/pinctrl/
DREADME.md26 gpio: [[0, 21], [26, 45]]
29 gpio: [[0, 21], [26, 46]]
38 …- **`gpio`** (required): array composed of __integers__ and/or __2-sized arrays of integers__. Int…
43 …nd `sigo` must be borrowed from `include/zephyr/dt-bindings/pinctrl/{soc}-gpio-sigmap.h` file. Dro…
45 - If the `gpio` field is formed by either only one pin number or only one pin number range, in any …
/hal_espressif-3.7.0/components/esp_hw_support/
Dsleep_modes.c1337 for (int gpio = 0; mask; ++gpio, mask >>= 1) { in esp_sleep_enable_ext1_wakeup() local
1341 if (!esp_sleep_is_valid_wakeup_gpio(gpio)) { in esp_sleep_enable_ext1_wakeup()
1342 ESP_LOGE(TAG, "Not an RTC IO: GPIO%d", gpio); in esp_sleep_enable_ext1_wakeup()
1345 rtc_gpio_mask |= BIT(rtc_io_number_get(gpio)); in esp_sleep_enable_ext1_wakeup()
1357 for (int gpio = 0; gpio < GPIO_PIN_COUNT && rtc_gpio_mask != 0; ++gpio) { in ext1_wakeup_prepare() local
1358 int rtc_pin = rtc_io_number_get(gpio); in ext1_wakeup_prepare()
1400 for (int gpio = 0; gpio < GPIO_PIN_COUNT; ++gpio) { in esp_sleep_get_ext1_wakeup_status() local
1401 if (!esp_sleep_is_valid_wakeup_gpio(gpio)) { in esp_sleep_get_ext1_wakeup_status()
1404 int rtc_pin = rtc_io_number_get(gpio); in esp_sleep_get_ext1_wakeup_status()
1408 gpio_mask |= 1ULL << gpio; in esp_sleep_get_ext1_wakeup_status()
/hal_espressif-3.7.0/components/esp_rom/include/esp32/rom/
Dgpio.h142 void gpio_matrix_in(uint32_t gpio, uint32_t signal_idx, bool inv);
158 void gpio_matrix_out(uint32_t gpio, uint32_t signal_idx, bool out_inv, bool oen_inv);
/hal_espressif-3.7.0/components/esp_rom/include/esp32s2/rom/
Dgpio.h142 void gpio_matrix_in(uint32_t gpio, uint32_t signal_idx, bool inv);
158 void gpio_matrix_out(uint32_t gpio, uint32_t signal_idx, bool out_inv, bool oen_inv);
/hal_espressif-3.7.0/components/esp_pm/
Dlinker.lf68 gpio:gpio_sleep_pupd_config_unapply (noflash)
70 gpio:gpio_sleep_pupd_config_apply (noflash)
/hal_espressif-3.7.0/zephyr/esp32c6/
DCMakeLists.txt65 ../../components/driver/gpio/include
137 ../../components/driver/gpio/rtc_io.c
141 ../../components/driver/gpio/gpio.c
/hal_espressif-3.7.0/zephyr/esp_shared/components/driver/
Dgpio.c260 void gpio_iomux_in(uint32_t gpio, uint32_t signal_idx) in gpio_iomux_in() argument
262 gpio_hal_iomux_in(gpio_context.gpio_hal, gpio, signal_idx); in gpio_iomux_in()
/hal_espressif-3.7.0/components/hal/esp32s2/include/hal/
Dgpio_ll.h460 static inline void gpio_ll_iomux_in(gpio_dev_t *hw, uint32_t gpio, uint32_t signal_idx) in gpio_ll_iomux_in() argument
463 PIN_INPUT_ENABLE(IO_MUX_GPIO0_REG + (gpio * 4)); in gpio_ll_iomux_in()
/hal_espressif-3.7.0/components/bt/controller/esp32c2/
DKconfig.in31 int "HCI uart Tx gpio"
36 int "HCI uart Rx gpio"
41 int "HCI uart RTS gpio"
46 int "HCI uart CTS gpio"
/hal_espressif-3.7.0/components/hal/esp32s3/include/hal/
Dgpio_ll.h476 static inline void gpio_ll_iomux_in(gpio_dev_t *hw, uint32_t gpio, uint32_t signal_idx) in gpio_ll_iomux_in() argument
479 PIN_INPUT_ENABLE(IO_MUX_GPIO0_REG + (gpio * 4)); in gpio_ll_iomux_in()
/hal_espressif-3.7.0/components/hal/esp32/include/hal/
Dgpio_ll.h629 static inline void gpio_ll_iomux_in(gpio_dev_t *hw, uint32_t gpio, uint32_t signal_idx) in gpio_ll_iomux_in() argument
632 PIN_INPUT_ENABLE(DR_REG_IO_MUX_BASE + GPIO_PIN_MUX_REG_OFFSET[gpio]); in gpio_ll_iomux_in()
/hal_espressif-3.7.0/components/hal/esp32c2/include/hal/
Dgpio_ll.h445 static inline void gpio_ll_iomux_in(gpio_dev_t *hw, uint32_t gpio, uint32_t signal_idx) in gpio_ll_iomux_in() argument
448 PIN_INPUT_ENABLE(IO_MUX_GPIO0_REG + (gpio * 4)); in gpio_ll_iomux_in()
/hal_espressif-3.7.0/components/hal/esp32c3/include/hal/
Dgpio_ll.h457 static inline void gpio_ll_iomux_in(gpio_dev_t *hw, uint32_t gpio, uint32_t signal_idx) in gpio_ll_iomux_in() argument
460 PIN_INPUT_ENABLE(IO_MUX_GPIO0_REG + (gpio * 4)); in gpio_ll_iomux_in()
/hal_espressif-3.7.0/zephyr/esp32/
DCMakeLists.txt66 ../../components/driver/gpio/include
218 ../../components/driver/gpio/rtc_io.c
223 ../../components/driver/gpio/gpio.c
225 ../../components/driver/gpio/rtc_io.c
238 ../../components/driver/gpio/rtc_io.c
/hal_espressif-3.7.0/zephyr/esp32s2/
DCMakeLists.txt64 ../../components/driver/gpio/include
201 ../../components/driver/gpio/rtc_io.c
211 ../../components/driver/gpio/rtc_io.c
222 ../../components/driver/gpio/gpio.c
224 ../../components/driver/gpio/rtc_io.c

123