Home
last modified time | relevance | path

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

/Zephyr-Core-3.4.0/drivers/gpio/
Dgpio_stellaris.c34 #define GPIO_REG_ADDR(base, offset) (base + offset) macro
37 (GPIO_REG_ADDR(base, offset) | (1 << (p + 2)))
40 (GPIO_REG_ADDR(base, offset) | (mask << 2))
59 uint32_t int_stat = sys_read32(GPIO_REG_ADDR(base, GPIO_MIS_OFFSET)); in gpio_stellaris_isr()
63 sys_write32(int_stat, GPIO_REG_ADDR(base, GPIO_ICR_OFFSET)); in gpio_stellaris_isr()
95 sys_set_bit(GPIO_REG_ADDR(base, GPIO_DIR_OFFSET), pin); in gpio_stellaris_configure()
97 sys_set_bit(GPIO_REG_ADDR(base, GPIO_DEN_OFFSET), pin); in gpio_stellaris_configure()
99 sys_clear_bit(GPIO_REG_ADDR(base, GPIO_DIR_OFFSET), pin); in gpio_stellaris_configure()
101 sys_set_bit(GPIO_REG_ADDR(base, GPIO_DEN_OFFSET), pin); in gpio_stellaris_configure()
104 sys_clear_bit(GPIO_REG_ADDR(base, GPIO_DEN_OFFSET), pin); in gpio_stellaris_configure()
[all …]