adc_gpio_init() function
Initialise the gpio for use as an ADC pin Prepare a GPIO for use with ADC by disabling all digital functions.
Syntax
static inline void adc_gpio_init(uint gpio); Arguments
gpio
The GPIO number to use. Allowable GPIO numbers are 26 to 29 inclusive on RP2040 or RP2350A, 40-48 inclusive on RP2350B
Examples
adc_gpio_init() is referenced by 5 libraries and example projects: