Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/cmsis_drivers/lpc_gpio/
Dfsl_gpio_cmsis.c122 gpio_cmsis_context_t *cxt = &(handle->contexts[i]); in CMSIS_GPIO_GetContextResource() local
124 if (cxt->is_occupied == false) in CMSIS_GPIO_GetContextResource()
129 if ((pintr == (uint32_t)cxt->pint_index)) in CMSIS_GPIO_GetContextResource()
131 return cxt; in CMSIS_GPIO_GetContextResource()
142 gpio_cmsis_context_t *cxt = &(handle->contexts[i]); in CMSIS_GPIO_GetEmptyContext() local
144 if (cxt->is_occupied == false) in CMSIS_GPIO_GetEmptyContext()
146 return cxt; in CMSIS_GPIO_GetEmptyContext()
256 gpio_cmsis_context_t *cxt = CMSIS_GPIO_GetContextResource(handle, (uint32_t)pintr); in CMSIS_GPIO_Callback() local
258 if ((cxt != NULL) && (cxt->callback != NULL)) in CMSIS_GPIO_Callback()
260 cxt->callback(cxt->pin_index); // EVENT in CMSIS_GPIO_Callback()
[all …]