Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/imx/drivers/
Dgpio_imx.c50 volatile uint32_t *icr; in GPIO_Init() local
67 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()
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/igpio/
Dfsl_gpio.c146 volatile uint32_t *icr; in GPIO_PinSetInterruptConfig() local
156 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()