Home
last modified time | relevance | path

Searched refs:event (Results 1 – 25 of 289) sorted by relevance

12345678910>>...12

/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/sctimer/
Dfsl_sctimer.h388 uint32_t *event);
401 …UpdatePwmDutycycle(SCT_Type *base, sctimer_out_t output, uint8_t dutyCyclePercent, uint32_t event);
615 uint32_t *event);
628 void SCTIMER_ScheduleEvent(SCT_Type *base, uint32_t event);
766 uint32_t event);
779 void SCTIMER_SetCallback(SCT_Type *base, sctimer_event_callback_t callback, uint32_t event);
792 static inline void SCTIMER_SetupStateLdMethodAction(SCT_Type *base, uint32_t event, bool fgLoad) in SCTIMER_SetupStateLdMethodAction() argument
794 uint32_t reg = base->EV[event].CTRL; in SCTIMER_SetupStateLdMethodAction()
807 base->EV[event].CTRL = reg; in SCTIMER_SetupStateLdMethodAction()
825 uint32_t event, in SCTIMER_SetupNextStateActionwithLdMethod() argument
[all …]
Dfsl_sctimer.c271 uint32_t *event) in SCTIMER_SetupPwm() argument
331 *event = periodEvent; in SCTIMER_SetupPwm()
404 …_UpdatePwmDutycycle(SCT_Type *base, sctimer_out_t output, uint8_t dutyCyclePercent, uint32_t event) in SCTIMER_UpdatePwmDutycycle() argument
413 bool isHighTrue = (0U != (base->OUT[output].CLR & (1UL << (event + 1U)))); in SCTIMER_UpdatePwmDutycycle()
416 periodMatchReg = base->EV[event].CTRL & SCT_EV_CTRL_MATCHSEL_MASK; in SCTIMER_UpdatePwmDutycycle()
419 pulseMatchReg = base->EV[event + 1U].CTRL & SCT_EV_CTRL_MATCHSEL_MASK; in SCTIMER_UpdatePwmDutycycle()
482 uint32_t *event) in SCTIMER_CreateAndScheduleEvent() argument
578 *event = s_currentEvent; in SCTIMER_CreateAndScheduleEvent()
604 void SCTIMER_ScheduleEvent(SCT_Type *base, uint32_t event) in SCTIMER_ScheduleEvent() argument
607 base->EV[event].STATE |= (1UL << s_currentState); in SCTIMER_ScheduleEvent()
[all …]
/hal_nxp-3.7.0/mcux/mcux-sdk/components/osa/
Dfsl_os_abstraction_zephyr.c178 struct k_event *event = NULL; in OSA_EventCreate() local
180 event = OSA_MemoryAllocate(sizeof(struct k_event)); in OSA_EventCreate()
181 if (event == NULL){ in OSA_EventCreate()
185 k_event_init(event); in OSA_EventCreate()
187 eventHandle->event = event; in OSA_EventCreate()
201 if (eventHandle == NULL || eventHandle->event == NULL) { in OSA_EventWait()
215 wakeflags = k_event_wait(eventHandle->event, flagsToWait, false, timeout); in OSA_EventWait()
217 wakeflags = k_event_wait_all(eventHandle->event, flagsToWait, false, timeout); in OSA_EventWait()
227 k_event_clear(eventHandle->event, flagsToWait); in OSA_EventWait()
234 if (eventHandle == NULL || eventHandle->event == NULL) { in OSA_EventSet()
[all …]
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/itrc_1/
Dfsl_itrc.c54 status_t ITRC_ClearInEventStatus(ITRC_Type *base, itrc_in_signals_t event) in ITRC_ClearInEventStatus() argument
57 if (event < ITRC_INPUT_SIGNALS_NUM) in ITRC_ClearInEventStatus()
59 if (event < 16u) in ITRC_ClearInEventStatus()
61 const uint32_t shifted = (uint32_t)1U << event; in ITRC_ClearInEventStatus()
71 const uint32_t shifted = (uint32_t)1U << (event - 16u); in ITRC_ClearInEventStatus()
264 bool ITRC_GetInEventStatus(ITRC_Type *base, itrc_in_signals_t event) in ITRC_GetInEventStatus() argument
266 if (event < 16UL) in ITRC_GetInEventStatus()
268 return (base->STATUS0 & (1UL << event)) != 0UL; in ITRC_GetInEventStatus()
272 return (base->STATUS1 & (1UL << (event - 16UL))) != 0UL; in ITRC_GetInEventStatus()
/hal_nxp-3.7.0/mcux/middleware/mcux-sdk-middleware-usb/output/source/device/class/
Dusb_device_ccid.c33 usb_device_endpoint_callback_message_struct_t *event,
36 usb_device_endpoint_callback_message_struct_t *event,
39 usb_device_endpoint_callback_message_struct_t *event,
194 usb_device_endpoint_callback_message_struct_t *event, in USB_DeviceCcidInterruptIn() argument
203 …if (((NULL == deviceHandle) || (NULL == callbackParam) || (NULL == event)) || (NULL == event->buff… in USB_DeviceCcidInterruptIn()
209 notification.buffer = event->buffer; in USB_DeviceCcidInterruptIn()
210 notification.length = event->length; in USB_DeviceCcidInterruptIn()
211 temp = (void *)event->buffer; in USB_DeviceCcidInterruptIn()
308 usb_device_endpoint_callback_message_struct_t *event, in USB_DeviceCcidBulkIn() argument
316 …if (((NULL == deviceHandle) || (NULL == callbackParam) || (NULL == event)) || (NULL == event->buff… in USB_DeviceCcidBulkIn()
[all …]
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/syspm/
Dfsl_syspm.c103 void SYSPM_SelectEvent(SYSPM_Type *base, syspm_monitor_t monitor, syspm_event_t event, uint8_t even… in SYSPM_SelectEvent() argument
108 shift = 7U * (uint8_t)event; in SYSPM_SelectEvent()
123 void SYSPM_ResetEvent(SYSPM_Type *base, syspm_monitor_t monitor, syspm_event_t event) in SYSPM_ResetEvent() argument
125 base->PMCR[(uint8_t)monitor].PMCR |= ((uint32_t)SYSPM_PMCR_RECTR1_MASK << (uint8_t)event); in SYSPM_ResetEvent()
193 uint64_t SYSPM_GetEventCounter(SYSPM_Type *base, syspm_monitor_t monitor, syspm_event_t event) in SYSPM_GetEventCounter() argument
199 highOld = base->PMCR[(uint8_t)monitor].PMECTR[(uint8_t)event].HI; in SYSPM_GetEventCounter()
202 low = base->PMCR[(uint8_t)monitor].PMECTR[(uint8_t)event].LO; in SYSPM_GetEventCounter()
203 high = base->PMCR[(uint8_t)monitor].PMECTR[(uint8_t)event].HI; in SYSPM_GetEventCounter()
/hal_nxp-3.7.0/mcux/middleware/mcux-sdk-middleware-usb/dcd/
Dusb_hsdcd.c273 usb_device_charger_detect_type_t event; in USB_HSDcdIsrFunction() local
279 event = kUSB_DcdError; in USB_HSDcdIsrFunction()
286 event = kUSB_DcdTimeOut; in USB_HSDcdIsrFunction()
290 event = kUSB_DcdError; in USB_HSDcdIsrFunction()
301 event = kUSB_DcdSDP; in USB_HSDcdIsrFunction()
305 event = kUSB_DcdError; in USB_HSDcdIsrFunction()
316 event = kUSB_DcdCDP; in USB_HSDcdIsrFunction()
320 event = kUSB_DcdDCP; in USB_HSDcdIsrFunction()
333 dcdHSState->detectResult = (uint8_t)event; in USB_HSDcdIsrFunction()
336 …(void)dcdHSState->dcdCallback(dcdHSState->dcdCallbackParam, event, (void *)&dcdHSState->detectResu… in USB_HSDcdIsrFunction()
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/aoi/
Dfsl_aoi.c120 void AOI_GetEventLogicConfig(AOI_Type *base, aoi_event_t event, aoi_event_config_t *config) in AOI_GetEventLogicConfig() argument
122 assert((uint32_t)event < (uint32_t)FSL_FEATURE_AOI_EVENT_COUNT); in AOI_GetEventLogicConfig()
128 value = base->BFCRT[event].BFCRT01; in AOI_GetEventLogicConfig()
149 value = base->BFCRT[event].BFCRT23; in AOI_GetEventLogicConfig()
209 void AOI_SetEventLogicConfig(AOI_Type *base, aoi_event_t event, const aoi_event_config_t *eventConf… in AOI_SetEventLogicConfig() argument
212 assert((uint32_t)event < (uint32_t)FSL_FEATURE_AOI_EVENT_COUNT); in AOI_SetEventLogicConfig()
221 base->BFCRT[event].BFCRT01 = value; in AOI_SetEventLogicConfig()
229 base->BFCRT[event].BFCRT23 = value; in AOI_SetEventLogicConfig()
/hal_nxp-3.7.0/mcux/mcux-sdk/cmsis_drivers/spi/
Dfsl_spi_cmsis.c100 ARM_SPI_SignalEvent_t event; member
338 uint32_t event = 0U; in KSDK_SPI_MasterDMACallback() local
342 event = ARM_SPI_EVENT_TRANSFER_COMPLETE; in KSDK_SPI_MasterDMACallback()
347 event = ARM_SPI_EVENT_DATA_LOST; in KSDK_SPI_MasterDMACallback()
350 if ((0U != event) && (userData != NULL)) in KSDK_SPI_MasterDMACallback()
352 ((ARM_SPI_SignalEvent_t)userData)(event); in KSDK_SPI_MasterDMACallback()
357 uint32_t event = 0U; in KSDK_SPI_SlaveDMACallback() local
361 event = ARM_SPI_EVENT_TRANSFER_COMPLETE; in KSDK_SPI_SlaveDMACallback()
366 event = ARM_SPI_EVENT_DATA_LOST; in KSDK_SPI_SlaveDMACallback()
369 if ((0U != event) && (userData != NULL)) in KSDK_SPI_SlaveDMACallback()
[all …]
/hal_nxp-3.7.0/mcux/mcux-sdk/cmsis_drivers/dspi/
Dfsl_dspi_cmsis.c60 ARM_SPI_SignalEvent_t event; member
98 ARM_SPI_SignalEvent_t event; member
340 uint32_t event = 0U; in KSDK_DSPI_MasterEdmaCallback() local
344 event = ARM_SPI_EVENT_TRANSFER_COMPLETE; in KSDK_DSPI_MasterEdmaCallback()
349 event = ARM_SPI_EVENT_DATA_LOST; in KSDK_DSPI_MasterEdmaCallback()
352 if ((0U != event) && (userData != NULL)) in KSDK_DSPI_MasterEdmaCallback()
354 ((ARM_SPI_SignalEvent_t)userData)(event); in KSDK_DSPI_MasterEdmaCallback()
362 uint32_t event = 0U; in KSDK_DSPI_SlaveEdmaCallback() local
366 event = ARM_SPI_EVENT_TRANSFER_COMPLETE; in KSDK_DSPI_SlaveEdmaCallback()
371 event = ARM_SPI_EVENT_DATA_LOST; in KSDK_DSPI_SlaveEdmaCallback()
[all …]
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/dspi/
Dfsl_dspi_freertos.c21 (void)xSemaphoreGiveFromISR(handle->event, &reschedule); in DSPI_RTOS_Callback()
63 handle->event = xSemaphoreCreateBinaryStatic(&handle->semaphoreBuffer); in DSPI_RTOS_Init()
65 handle->event = xSemaphoreCreateBinary(); in DSPI_RTOS_Init()
67 if (handle->event == NULL) in DSPI_RTOS_Init()
91 vSemaphoreDelete(handle->event); in DSPI_RTOS_Deinit()
124 if (xSemaphoreTake(handle->event, portMAX_DELAY) != pdTRUE) in DSPI_RTOS_Transfer()
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/ecspi/
Dfsl_ecspi_freertos.c21 (void)xSemaphoreGiveFromISR(handle->event, &reschedule); in ECSPI_RTOS_Callback()
63 handle->event = xSemaphoreCreateBinaryStatic(&handle->semaphoreBuffer); in ECSPI_RTOS_Init()
65 handle->event = xSemaphoreCreateBinary(); in ECSPI_RTOS_Init()
67 if (handle->event == NULL) in ECSPI_RTOS_Init()
91 vSemaphoreDelete(handle->event); in ECSPI_RTOS_Deinit()
124 if (xSemaphoreTake(handle->event, portMAX_DELAY) != pdTRUE) in ECSPI_RTOS_Transfer()
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/spi/
Dfsl_spi_freertos.c21 (void)xSemaphoreGiveFromISR(handle->event, &reschedule); in SPI_RTOS_Callback()
63 handle->event = xSemaphoreCreateBinaryStatic(&handle->semaphoreBuffer); in SPI_RTOS_Init()
65 handle->event = xSemaphoreCreateBinary(); in SPI_RTOS_Init()
67 if (handle->event == NULL) in SPI_RTOS_Init()
91 vSemaphoreDelete(handle->event); in SPI_RTOS_Deinit()
124 if (xSemaphoreTake(handle->event, portMAX_DELAY) != pdTRUE) in SPI_RTOS_Transfer()
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/MIMX8QM6/drivers/
Dfsl_sc_event.c214 status_t SCEvent_Config(sc_event_t event, bool enable, uint32_t pt) in SCEvent_Config() argument
218 uint32_t mask = SC_EVENT_GET_IRQ(event); in SCEvent_Config()
219 uint8_t group = (uint8_t)SC_EVENT_GET_IRQ_GROUP(event); in SCEvent_Config()
272 sc_event_handler_t SCEvent_RegisterEventHandler(sc_event_t event, sc_event_callback_t callback, voi… in SCEvent_RegisterEventHandler() argument
288 handler->event = event; in SCEvent_RegisterEventHandler()
328 mask = SC_EVENT_GET_IRQ(handler->event); in SCEvent_Process()
329 group = (uint8_t)SC_EVENT_GET_IRQ_GROUP(handler->event); in SCEvent_Process()
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/lpspi/
Dfsl_lpspi_freertos.c21 (void)xSemaphoreGiveFromISR(handle->event, &reschedule); in LPSPI_RTOS_Callback()
59 handle->event = xSemaphoreCreateBinary(); in LPSPI_RTOS_Init()
60 if (handle->event == NULL) in LPSPI_RTOS_Init()
84 vSemaphoreDelete(handle->event); in LPSPI_RTOS_Deinit()
117 if (xSemaphoreTake(handle->event, portMAX_DELAY) != pdTRUE) in LPSPI_RTOS_Transfer()
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/wuu/
Dfsl_wuu.c93 eventReg |= WUU_SET_BIT_FIELD_IN_REG(config->event, offset); in WUU_SetExternalWakeUpPinsConfig()
130 …lWakeUpModulesConfig(WUU_Type *base, uint8_t moduleIndex, wuu_internal_wakeup_module_event_t event) in WUU_SetInternalWakeUpModulesConfig() argument
132 switch (event) in WUU_SetInternalWakeUpModulesConfig()
153 …lWakeUpModulesConfig(WUU_Type *base, uint8_t moduleIndex, wuu_internal_wakeup_module_event_t event) in WUU_ClearInternalWakeUpModulesConfig() argument
155 switch(event) in WUU_ClearInternalWakeUpModulesConfig()
202 eventReg |= WUU_SET_BIT_FIELD_IN_REG(config->event, shift); in WUU_SetPinFilterConfig()
Dfsl_wuu.h100 wuu_external_wakeup_pin_event_t event; /*!< External Input wakeup Pin event */ member
111 wuu_filter_event_t event; /*!< The event of the filter output. */ member
179 …WakeUpModulesConfig(WUU_Type *base, uint8_t moduleIndex, wuu_internal_wakeup_module_event_t event);
188 …WakeUpModulesConfig(WUU_Type *base, uint8_t moduleIndex, wuu_internal_wakeup_module_event_t event);
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/flexcomm/spi/
Dfsl_spi_freertos.c21 (void)xSemaphoreGiveFromISR(handle->event, &reschedule); in SPI_RTOS_Callback()
61 handle->event = xSemaphoreCreateBinary(); in SPI_RTOS_Init()
62 if (handle->event == NULL) in SPI_RTOS_Init()
86 vSemaphoreDelete(handle->event); in SPI_RTOS_Deinit()
120 if (xSemaphoreTake(handle->event, portMAX_DELAY) != pdTRUE) in SPI_RTOS_Transfer()
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/lpflexcomm/
Dfsl_lpspi_freertos.c20 (void)xSemaphoreGiveFromISR(handle->event, &reschedule); in LPSPI_RTOS_Callback()
58 handle->event = xSemaphoreCreateBinary(); in LPSPI_RTOS_Init()
59 if (handle->event == NULL) in LPSPI_RTOS_Init()
83 vSemaphoreDelete(handle->event); in LPSPI_RTOS_Deinit()
117 if (xSemaphoreTake(handle->event, portMAX_DELAY) != pdTRUE) in LPSPI_RTOS_Transfer()
/hal_nxp-3.7.0/mcux/mcux-sdk/scripts/kconfig/
Dguiconfig.py897 def _tree_click(event): argument
900 tree = event.widget
901 if tree.identify_element(event.x, event.y) == "image":
902 item = tree.identify_row(event.y)
910 def _tree_double_click(event): argument
915 if not _in_heading(event):
916 return _tree_enter(event)
919 def _in_heading(event): argument
922 tree = event.widget
924 tree.identify_region(event.x, event.y) in ("heading", "separator")
[all …]
/hal_nxp-3.7.0/mcux/mcux-sdk/cmsis_drivers/ii2c/
Dfsl_i2c_cmsis.c88 uint32_t event = 0; in KSDK_I2C_SLAVE_InterruptCallback() local
90 switch (xfer->event) in KSDK_I2C_SLAVE_InterruptCallback()
93 event = ARM_I2C_EVENT_TRANSFER_DONE; in KSDK_I2C_SLAVE_InterruptCallback()
97 event = ARM_I2C_EVENT_TRANSFER_INCOMPLETE; in KSDK_I2C_SLAVE_InterruptCallback()
103 ((ARM_I2C_SignalEvent_t)userData)(event); in KSDK_I2C_SLAVE_InterruptCallback()
112 uint32_t event = 0; in KSDK_I2C_MASTER_InterruptCallback() local
117 event = ARM_I2C_EVENT_TRANSFER_DONE; in KSDK_I2C_MASTER_InterruptCallback()
121 event = ARM_I2C_EVENT_ADDRESS_NACK; in KSDK_I2C_MASTER_InterruptCallback()
125 event = ARM_I2C_EVENT_ARBITRATION_LOST; in KSDK_I2C_MASTER_InterruptCallback()
129 event = ARM_I2C_EVENT_TRANSFER_INCOMPLETE; in KSDK_I2C_MASTER_InterruptCallback()
[all …]
/hal_nxp-3.7.0/mcux/mcux-sdk/boards/mekmimx8qx/
Dboard.h82 #define SC_EVENT_MASK(event) (1 << event) argument
193 void BOARD_RegisterEventHandler(sc_event_type_t event, eventHandler handler, void *param);
195 static inline void BOARD_UnregisterEventHandeler(sc_event_type_t event) in BOARD_UnregisterEventHandeler() argument
197 BOARD_RegisterEventHandler(event, NULL, NULL); in BOARD_UnregisterEventHandeler()
/hal_nxp-3.7.0/mcux/mcux-sdk/cmsis_drivers/i2c/
Dfsl_i2c_cmsis.c132 uint32_t event = 0; in KSDK_I2C_MASTER_DmaCallback() local
136 event = ARM_I2C_EVENT_TRANSFER_DONE; in KSDK_I2C_MASTER_DmaCallback()
141 event = ARM_I2C_EVENT_ADDRESS_NACK; in KSDK_I2C_MASTER_DmaCallback()
146 ((ARM_I2C_SignalEvent_t)userData)(event); in KSDK_I2C_MASTER_DmaCallback()
450 uint32_t event = 0; in KSDK_I2C_MASTER_EdmaCallback() local
455 event = ARM_I2C_EVENT_TRANSFER_DONE; in KSDK_I2C_MASTER_EdmaCallback()
460 event = ARM_I2C_EVENT_ADDRESS_NACK; in KSDK_I2C_MASTER_EdmaCallback()
465 ((ARM_I2C_SignalEvent_t)userData)(event); in KSDK_I2C_MASTER_EdmaCallback()
766 uint32_t event = 0; in KSDK_I2C_SLAVE_InterruptCallback() local
768 switch (xfer->event) in KSDK_I2C_SLAVE_InterruptCallback()
[all …]
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/i2c/
Dfsl_i2c.c2162 xfer->event = kI2C_SlaveCompletionEvent; in I2C_SlaveTransferHandleIRQ()
2166 if ((0U != (handle->eventMask & (uint32_t)xfer->event)) && (NULL != handle->callback)) in I2C_SlaveTransferHandleIRQ()
2188 xfer->event = kI2C_SlaveStartEvent; in I2C_SlaveTransferHandleIRQ()
2190 if ((0U != (handle->eventMask & (uint32_t)xfer->event)) && (NULL != handle->callback)) in I2C_SlaveTransferHandleIRQ()
2216 xfer->event = kI2C_SlaveCompletionEvent; in I2C_SlaveTransferHandleIRQ()
2220 if ((0U != (handle->eventMask & (uint32_t)xfer->event)) && (NULL != handle->callback)) in I2C_SlaveTransferHandleIRQ()
2228 xfer->event = kI2C_SlaveCompletionEvent; in I2C_SlaveTransferHandleIRQ()
2232 if ((0U != (handle->eventMask & (uint32_t)xfer->event)) && (NULL != handle->callback)) in I2C_SlaveTransferHandleIRQ()
2243 xfer->event = kI2C_SlaveAddressMatchEvent; in I2C_SlaveTransferHandleIRQ()
2261 xfer->event = kI2C_SlaveGenaralcallEvent; in I2C_SlaveTransferHandleIRQ()
[all …]
/hal_nxp-3.7.0/mcux/mcux-sdk/cmsis_drivers/ecspi/
Dfsl_ecspi_cmsis.c277 uint32_t event = 0U; in KSDK_ECSPI_MasterSDMACallback() local
281 event = ARM_SPI_EVENT_TRANSFER_COMPLETE; in KSDK_ECSPI_MasterSDMACallback()
287 ((ARM_SPI_SignalEvent_t)userData)(event); in KSDK_ECSPI_MasterSDMACallback()
292 uint32_t event = 0U; in KSDK_ECSPI_SlaveSDMACallback() local
296 event = ARM_SPI_EVENT_TRANSFER_COMPLETE; in KSDK_ECSPI_SlaveSDMACallback()
302 ((ARM_SPI_SignalEvent_t)userData)(event); in KSDK_ECSPI_SlaveSDMACallback()
732 uint32_t event = 0U; in KSDK_ECSPI_MasterInterruptCallback() local
736 event = ARM_SPI_EVENT_TRANSFER_COMPLETE; in KSDK_ECSPI_MasterInterruptCallback()
741 event = ARM_SPI_EVENT_DATA_LOST; in KSDK_ECSPI_MasterInterruptCallback()
747 ((ARM_SPI_SignalEvent_t)userData)(event); in KSDK_ECSPI_MasterInterruptCallback()
[all …]

12345678910>>...12