Searched refs:icr (Results 1 – 2 of 2) sorted by relevance
50 volatile uint32_t *icr; in GPIO_Init() local67 icr = &GPIO_ICR1_REG(base); in GPIO_Init()70 icr = &GPIO_ICR2_REG(base); in GPIO_Init()77 *icr &= ~(0x3<<(2*pin)); in GPIO_Init()82 *icr = (*icr & (~(0x3<<(2*pin)))) | (0x1<<(2*pin)); in GPIO_Init()87 *icr = (*icr & (~(0x3<<(2*pin)))) | (0x2<<(2*pin)); in GPIO_Init()92 *icr |= (0x3<<(2*pin)); in GPIO_Init()
146 volatile uint32_t *icr; in GPIO_PinSetInterruptConfig() local156 icr = &(base->ICR1); in GPIO_PinSetInterruptConfig()160 icr = &(base->ICR2); in GPIO_PinSetInterruptConfig()166 *icr &= ~(3UL << (2UL * icrShift)); in GPIO_PinSetInterruptConfig()169 *icr = (*icr & (~(3UL << (2UL * icrShift)))) | (1UL << (2UL * icrShift)); in GPIO_PinSetInterruptConfig()172 *icr = (*icr & (~(3UL << (2UL * icrShift)))) | (2UL << (2UL * icrShift)); in GPIO_PinSetInterruptConfig()175 *icr |= (3UL << (2UL * icrShift)); in GPIO_PinSetInterruptConfig()