Home
last modified time | relevance | path

Searched refs:gpio_function_t (Results 1 – 5 of 5) sorted by relevance

/hal_rpi_pico-latest/src/rp2_common/hardware_gpio/
Dgpio.c38 void gpio_set_function(uint gpio, gpio_function_t fn) { in gpio_set_function()
56 gpio_function_t gpio_get_function(uint gpio) { in gpio_get_function()
58 …return (gpio_function_t) ((io_bank0_hw->io[gpio].ctrl & IO_BANK0_GPIO0_CTRL_FUNCSEL_BITS) >> IO_BA… in gpio_get_function()
305 void gpio_set_function_masked(uint32_t gpio_mask, gpio_function_t fn) { in gpio_set_function_masked()
314 void gpio_set_function_masked64(uint64_t gpio_mask, gpio_function_t fn) { in gpio_set_function_masked64()
/hal_rpi_pico-latest/src/rp2040/hardware_structs/include/hardware/structs/
Dio_bank0.h42 } gpio_function_t; typedef
/hal_rpi_pico-latest/src/rp2350/hardware_structs/include/hardware/structs/
Dio_bank0.h46 } gpio_function_t; typedef
/hal_rpi_pico-latest/src/rp2_common/hardware_gpio/include/hardware/
Dgpio.h254 void gpio_set_function(uint gpio, gpio_function_t fn);
263 void gpio_set_function_masked(uint32_t gpio_mask, gpio_function_t fn);
272 void gpio_set_function_masked64(uint64_t gpio_mask, gpio_function_t fn);
280 gpio_function_t gpio_get_function(uint gpio);
/hal_rpi_pico-latest/src/rp2_common/hardware_pio/include/hardware/
Dpio.h200 #define PIO_FUNCSEL_NUM(pio, gpio) ((gpio_function_t) (GPIO_FUNC_PIO0 + PIO_NUM(pio)))