Home
last modified time | relevance | path

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

/hal_ambiq-3.5.0/mcu/apollo4p/hal/
Dam_hal_gpio.c648 uint32_t ui32Nx, ui32Idx, ui32EnblAddr, ui32StatAddr; in am_hal_gpio_interrupt_irq_status_get() local
662 ui32Nx = (ui32GpioIrq <= GPIO0_607F_IRQn) ? 0 : 1; in am_hal_gpio_interrupt_irq_status_get()
663 ui32Idx = ui32GpioIrq - GPIO0_001F_IRQn - (ui32Nx * (GPIO0_607F_IRQn - GPIO0_001F_IRQn + 1)); in am_hal_gpio_interrupt_irq_status_get()
665 …ui32EnblAddr = (uint32_t)&GPIO->MCUN0INT0EN + (ui32Nx * GPIO_NXINT_DELTA) + (ui32Idx * GPIO_INTX… in am_hal_gpio_interrupt_irq_status_get()
666 …ui32StatAddr = (uint32_t)&GPIO->MCUN0INT0STAT + (ui32Nx * GPIO_NXINT_DELTA) + (ui32Idx * GPIO_INTX… in am_hal_gpio_interrupt_irq_status_get()
693 uint32_t ui32Nx, ui32Idx, ui32RegAddr; in am_hal_gpio_interrupt_irq_clear() local
706 ui32Nx = (ui32GpioIrq <= GPIO0_607F_IRQn) ? 0 : 1; in am_hal_gpio_interrupt_irq_clear()
707 ui32Idx = ui32GpioIrq - GPIO0_001F_IRQn - (ui32Nx * (GPIO0_607F_IRQn - GPIO0_001F_IRQn + 1)); in am_hal_gpio_interrupt_irq_clear()
708 …ui32RegAddr = (uint32_t)&GPIO->MCUN0INT0CLR + (ui32Nx * GPIO_NXINT_DELTA) + (ui32Idx * GPIO_INTX_D… in am_hal_gpio_interrupt_irq_clear()