Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/gpio/
Dgpio_rp1.c16 #define GPIO_CTRL(base, n) (GPIO_STATUS(base, n) + 0x4) macro
83 sys_clear_bits(GPIO_CTRL(data->gpio_base, pin), GPIO_CTRL_OEOVER_MASK); in gpio_rp1_pin_configure()
84 sys_set_bits(GPIO_CTRL(data->gpio_base, pin), GPIO_CTRL_OEOVER_PERI); in gpio_rp1_pin_configure()
86 sys_clear_bits(GPIO_CTRL(data->gpio_base, pin), GPIO_CTRL_OUTOVER_MASK); in gpio_rp1_pin_configure()
87 sys_set_bits(GPIO_CTRL(data->gpio_base, pin), GPIO_CTRL_OUTOVER_PERI); in gpio_rp1_pin_configure()
89 sys_clear_bits(GPIO_CTRL(data->gpio_base, pin), GPIO_CTRL_FUNCSEL_MASK); in gpio_rp1_pin_configure()
90 sys_set_bits(GPIO_CTRL(data->gpio_base, pin), GPIO_CTRL_FUNCSEL_RIO); in gpio_rp1_pin_configure()