Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/pint/
Dfsl_pint.h164 typedef void (*pint_cb_t)(pint_pin_int_t pintr, uint32_t pmatch_status);
219 void PINT_PinInterruptGetConfig(PINT_Type *base, pint_pin_int_t pintr, pint_pin_enable_t *enable, p…
231 void PINT_PinInterruptClrStatus(PINT_Type *base, pint_pin_int_t pintr);
243 static inline uint32_t PINT_PinInterruptGetStatus(PINT_Type *base, pint_pin_int_t pintr) in PINT_PinInterruptGetStatus() argument
245 return ((base->IST & (1UL << (uint32_t)pintr)) != 0U ? 1U : 0U); in PINT_PinInterruptGetStatus()
284 static inline void PINT_PinInterruptClrFallFlag(PINT_Type *base, pint_pin_int_t pintr) in PINT_PinInterruptClrFallFlag() argument
286 base->FALL = (1UL << (uint32_t)pintr); in PINT_PinInterruptClrFallFlag()
299 static inline uint32_t PINT_PinInterruptGetFallFlag(PINT_Type *base, pint_pin_int_t pintr) in PINT_PinInterruptGetFallFlag() argument
301 return ((base->FALL & (1UL << (uint32_t)pintr)) != 0U ? 1U : 0U); in PINT_PinInterruptGetFallFlag()
343 static inline void PINT_PinInterruptClrRiseFlag(PINT_Type *base, pint_pin_int_t pintr) in PINT_PinInterruptClrRiseFlag() argument
[all …]
Dfsl_pint.c222 void PINT_PinInterruptGetConfig(PINT_Type *base, pint_pin_int_t pintr, pint_pin_enable_t *enable, p… in PINT_PinInterruptGetConfig() argument
232 mask = 1UL << (uint32_t)pintr; in PINT_PinInterruptGetConfig()
279 *callback = s_pintCallback[pintr]; in PINT_PinInterruptGetConfig()
284 *callback = s_secpintCallback[pintr]; in PINT_PinInterruptGetConfig()
444 void PINT_PinInterruptClrStatus(PINT_Type *base, pint_pin_int_t pintr) in PINT_PinInterruptClrStatus() argument
446 uint32_t pinIntMode = base->ISEL & (1UL << (uint32_t)pintr); in PINT_PinInterruptClrStatus()
447 uint32_t pinIntStatus = base->IST & (1UL << (uint32_t)pintr); in PINT_PinInterruptClrStatus()
452 base->IST = (1UL << (uint32_t)pintr); in PINT_PinInterruptClrStatus()
/hal_nxp-3.5.0/mcux/mcux-sdk/cmsis_drivers/lpc_gpio/
Dfsl_gpio_cmsis.c118 …ic gpio_cmsis_context_t *CMSIS_GPIO_GetContextResource(gpio_cmsis_handle_t *handle, uint32_t pintr) in CMSIS_GPIO_GetContextResource() argument
129 if ((pintr == (uint32_t)cxt->pint_index)) in CMSIS_GPIO_GetContextResource()
253 static void CMSIS_GPIO_Callback(gpio_cmsis_handle_t *handle, pint_pin_int_t pintr, uint32_t pmatch_… in CMSIS_GPIO_Callback() argument
256 gpio_cmsis_context_t *cxt = CMSIS_GPIO_GetContextResource(handle, (uint32_t)pintr); in CMSIS_GPIO_Callback()
459 static void GPIO_PORT0_Callback(pint_pin_int_t pintr, uint32_t pmatch_status) in GPIO_PORT0_Callback() argument
461 CMSIS_GPIO_Callback(&s_gpio_port0_handle, pintr, pmatch_status); in GPIO_PORT0_Callback()
563 static void GPIO_PORT1_Callback(pint_pin_int_t pintr, uint32_t pmatch_status) in GPIO_PORT1_Callback() argument
565 CMSIS_GPIO_Callback(&s_gpio_port1_handle, pintr, pmatch_status); in GPIO_PORT1_Callback()
668 static void GPIO_PORT2_Callback(pint_pin_int_t pintr, uint32_t pmatch_status) in GPIO_PORT2_Callback() argument
670 CMSIS_GPIO_Callback(&s_gpio_port2_handle, pintr, pmatch_status); in GPIO_PORT2_Callback()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/components/gpio/
Dfsl_adapter_lpc_gpio.c94 static void HAL_GpioInterruptCallback(pint_pin_int_t pintr, uint32_t pmatch_status) in HAL_GpioInterruptCallback() argument
96 if (0U != (s_GpioInputMux[(uint8_t)pintr >> 3U] & (1U << ((uint8_t)pintr & 0x07U)))) in HAL_GpioInterruptCallback()
98 HAL_GpioInterruptHandle(HAL_GPIO_INPUTMUX_GET_PORT(s_GpioInputMuxPin[pintr]), in HAL_GpioInterruptCallback()
99 HAL_GPIO_INPUTMUX_GET_PIN(s_GpioInputMuxPin[pintr])); in HAL_GpioInterruptCallback()