Searched refs:PADS_CTRL (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/drivers/gpio/ |
D | gpio_rp1.c | 43 #define PADS_CTRL(base, n) (base + 0x4 * (n + 1)) macro 95 sys_clear_bits(PADS_CTRL(data->pads_base, pin), in gpio_rp1_pin_configure() 107 sys_set_bits(PADS_CTRL(data->pads_base, pin), in gpio_rp1_pin_configure() 112 sys_clear_bits(PADS_CTRL(data->pads_base, pin), in gpio_rp1_pin_configure() 116 sys_set_bits(PADS_CTRL(data->pads_base, pin), PADS_PULL_UP_ENABLE); in gpio_rp1_pin_configure() 118 sys_set_bits(PADS_CTRL(data->pads_base, pin), PADS_PULL_DOWN_ENABLE); in gpio_rp1_pin_configure()
|