No Header file to define func in gpio_iomux_input() or gpio_iomux_output()

jhinkle
Posts: 35
Joined: Wed Aug 29, 2018 3:17 pm

No Header file to define func in gpio_iomux_input() or gpio_iomux_output()

Postby jhinkle » Sat Mar 15, 2025 6:50 pm

The latest IDF has the following two functions defined in gpio.c

esp_err_t gpio_iomux_input(gpio_num_t gpio_num, int func, uint32_t signal_idx)

esp_err_t gpio_iomux_output(gpio_num_t gpio_num, int func, bool out_en_inv)

There are no header files that list/identify possible values for "func". Older versions idf had headers that provided that information but they are missing from the latest.

Can you please provide that information or tell me were to find it.

Thanks

Sprite
Espressif staff
Espressif staff
Posts: 10651
Joined: Thu Nov 26, 2015 4:08 am

Re: No Header file to define func in gpio_iomux_input() or gpio_iomux_output()

Postby Sprite » Sun Mar 16, 2025 12:44 am

Seems it's moved here. From what I can tell, that still is in the include path, so the move shouldn't affect existing code.

Who is online

Users browsing this forum: ChatGPT-User and 2 guests