Home
last modified time | relevance | path

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

12

/hal_nxp-2.7.6/mcux/drivers/imxrt6xx/
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.c263 uint32_t *event) in SCTIMER_SetupPwm() argument
333 *event = periodEvent; in SCTIMER_SetupPwm()
404 …_UpdatePwmDutycycle(SCT_Type *base, sctimer_out_t output, uint8_t dutyCyclePercent, uint32_t event) in SCTIMER_UpdatePwmDutycycle() argument
415 periodMatchReg = base->EV[event].CTRL & SCT_EV_CTRL_MATCHSEL_MASK; in SCTIMER_UpdatePwmDutycycle()
418 pulseMatchReg = base->EV[event + 1U].CTRL & SCT_EV_CTRL_MATCHSEL_MASK; in SCTIMER_UpdatePwmDutycycle()
480 uint32_t *event) in SCTIMER_CreateAndScheduleEvent() argument
573 *event = s_currentEvent; in SCTIMER_CreateAndScheduleEvent()
599 void SCTIMER_ScheduleEvent(SCT_Type *base, uint32_t event) in SCTIMER_ScheduleEvent() argument
602 base->EV[event].STATE |= (1UL << s_currentState); in SCTIMER_ScheduleEvent()
657 void SCTIMER_SetupOutputToggleAction(SCT_Type *base, uint32_t whichIO, uint32_t event) in SCTIMER_SetupOutputToggleAction() argument
[all …]
Dfsl_i3c.c2160 void I3C_SlaveRequestEvent(I3C_Type *base, i3c_slave_event_t event) in I3C_SlaveRequestEvent() argument
2165 ctrlValue |= I3C_SCTRL_EVENT(event); in I3C_SlaveRequestEvent()
2476 xfer->event = (uint32_t)kI3C_SlaveCompletionEvent; in I3C_SlaveTransferHandleIRQ()
2500 xfer->event = (uint32_t)kI3C_SlaveRequestSentEvent; in I3C_SlaveTransferHandleIRQ()
2515 if ((0UL != (handle->eventMask & xfer->event)) && (NULL != handle->callback)) in I3C_SlaveTransferHandleIRQ()
2524 xfer->event = (uint32_t)kI3C_SlaveReceivedCCCEvent; in I3C_SlaveTransferHandleIRQ()
2525 if ((0UL != (handle->eventMask & xfer->event)) && (NULL != handle->callback)) in I3C_SlaveTransferHandleIRQ()
2537 xfer->event = (uint32_t)kI3C_SlaveCompletionEvent; in I3C_SlaveTransferHandleIRQ()
2551 if ((0UL != (handle->eventMask & xfer->event)) && (NULL != handle->callback)) in I3C_SlaveTransferHandleIRQ()
2567 xfer->event = (uint32_t)kI3C_SlaveAddressMatchEvent; in I3C_SlaveTransferHandleIRQ()
[all …]
Dfsl_i2c.c100 …I2C_SlaveInvokeEvent(I2C_Type *base, i2c_slave_handle_t *handle, i2c_slave_transfer_event_t event);
1348 … I2C_SlaveInvokeEvent(I2C_Type *base, i2c_slave_handle_t *handle, i2c_slave_transfer_event_t event) in I2C_SlaveInvokeEvent() argument
1351 handle->transfer.event = event; in I2C_SlaveInvokeEvent()
1352 if (((handle->callback) != NULL) && ((eventMask & (uint32_t)event) != 0U)) in I2C_SlaveInvokeEvent()
1369 if ((event == kI2C_SlaveReceiveEvent) || (event == kI2C_SlaveTransmitEvent)) in I2C_SlaveInvokeEvent()
Dfsl_i3c.h526 uint32_t event; /*!< Reason the callback is being invoked. */ member
1589 void I3C_SlaveRequestEvent(I3C_Type *base, i3c_slave_event_t event);
Dfsl_i2c.h387 i2c_slave_transfer_event_t event; /*!< Reason the callback is being invoked. */ member
/hal_nxp-2.7.6/mcux/drivers/lpc/
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.c263 uint32_t *event) in SCTIMER_SetupPwm() argument
333 *event = periodEvent; in SCTIMER_SetupPwm()
404 …_UpdatePwmDutycycle(SCT_Type *base, sctimer_out_t output, uint8_t dutyCyclePercent, uint32_t event) in SCTIMER_UpdatePwmDutycycle() argument
415 periodMatchReg = base->EV[event].CTRL & SCT_EV_CTRL_MATCHSEL_MASK; in SCTIMER_UpdatePwmDutycycle()
418 pulseMatchReg = base->EV[event + 1U].CTRL & SCT_EV_CTRL_MATCHSEL_MASK; in SCTIMER_UpdatePwmDutycycle()
480 uint32_t *event) in SCTIMER_CreateAndScheduleEvent() argument
573 *event = s_currentEvent; in SCTIMER_CreateAndScheduleEvent()
599 void SCTIMER_ScheduleEvent(SCT_Type *base, uint32_t event) in SCTIMER_ScheduleEvent() argument
602 base->EV[event].STATE |= (1UL << s_currentState); in SCTIMER_ScheduleEvent()
657 void SCTIMER_SetupOutputToggleAction(SCT_Type *base, uint32_t whichIO, uint32_t event) in SCTIMER_SetupOutputToggleAction() argument
[all …]
Dfsl_i2c.c100 …I2C_SlaveInvokeEvent(I2C_Type *base, i2c_slave_handle_t *handle, i2c_slave_transfer_event_t event);
1348 … I2C_SlaveInvokeEvent(I2C_Type *base, i2c_slave_handle_t *handle, i2c_slave_transfer_event_t event) in I2C_SlaveInvokeEvent() argument
1351 handle->transfer.event = event; in I2C_SlaveInvokeEvent()
1352 if (((handle->callback) != NULL) && ((eventMask & (uint32_t)event) != 0U)) in I2C_SlaveInvokeEvent()
1369 if ((event == kI2C_SlaveReceiveEvent) || (event == kI2C_SlaveTransmitEvent)) in I2C_SlaveInvokeEvent()
Dfsl_i2c.h387 i2c_slave_transfer_event_t event; /*!< Reason the callback is being invoked. */ member
/hal_nxp-2.7.6/mcux/drivers/kinetis/
Dfsl_aoi.c104 void AOI_GetEventLogicConfig(AOI_Type *base, aoi_event_t event, aoi_event_config_t *config) in AOI_GetEventLogicConfig() argument
106 assert((uint32_t)event < (uint32_t)FSL_FEATURE_AOI_EVENT_COUNT); in AOI_GetEventLogicConfig()
112 value = base->BFCRT[event].BFCRT01; in AOI_GetEventLogicConfig()
133 value = base->BFCRT[event].BFCRT23; in AOI_GetEventLogicConfig()
193 void AOI_SetEventLogicConfig(AOI_Type *base, aoi_event_t event, const aoi_event_config_t *eventConf… in AOI_SetEventLogicConfig() argument
196 assert((uint32_t)event < (uint32_t)FSL_FEATURE_AOI_EVENT_COUNT); in AOI_SetEventLogicConfig()
205 base->BFCRT[event].BFCRT01 = value; in AOI_SetEventLogicConfig()
213 base->BFCRT[event].BFCRT23 = value; in AOI_SetEventLogicConfig()
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 …]
Dfsl_enet.c3606 uint32_t event = base->EIR; in ENET_CommonFrame0IRQHandler() local
3609 event &= base->EIMR; in ENET_CommonFrame0IRQHandler()
3610 if (0U != (event & ((uint32_t)kENET_TxBufferInterrupt | (uint32_t)kENET_TxFrameInterrupt))) in ENET_CommonFrame0IRQHandler()
3622 if (0U != (event & ((uint32_t)kENET_RxBufferInterrupt | (uint32_t)kENET_RxFrameInterrupt))) in ENET_CommonFrame0IRQHandler()
3634 if (0U != (event & ENET_TS_INTERRUPT) && (NULL != s_enetTsIsr[instance])) in ENET_CommonFrame0IRQHandler()
3638 if (0U != (event & ENET_ERR_INTERRUPT) && (NULL != s_enetErrIsr[instance])) in ENET_CommonFrame0IRQHandler()
3654 uint32_t event = base->EIR; in ENET_CommonFrame1IRQHandler() local
3657 event &= base->EIMR; in ENET_CommonFrame1IRQHandler()
3658 if (0U != (event & ((uint32_t)kENET_TxBuffer1Interrupt | (uint32_t)kENET_TxFrame1Interrupt))) in ENET_CommonFrame1IRQHandler()
3666 if (0U != (event & ((uint32_t)kENET_RxBuffer1Interrupt | (uint32_t)kENET_RxFrame1Interrupt))) in ENET_CommonFrame1IRQHandler()
[all …]
Dfsl_lpi2c.c2003 xfer->event = kLPI2C_SlaveCompletionEvent; in LPI2C_SlaveTransferHandleIRQ()
2014 …xfer->event = (0U != (flags & (uint32_t)kLPI2C_SlaveRepeatedStartDetectFlag)) ? kLPI2C_SlaveRepeat… in LPI2C_SlaveTransferHandleIRQ()
2020 if (xfer->event == kLPI2C_SlaveCompletionEvent) in LPI2C_SlaveTransferHandleIRQ()
2041 if ((0U != (handle->eventMask & (uint32_t)xfer->event)) && (NULL != handle->callback)) in LPI2C_SlaveTransferHandleIRQ()
2051 xfer->event = kLPI2C_SlaveAddressMatchEvent; in LPI2C_SlaveTransferHandleIRQ()
2063 xfer->event = kLPI2C_SlaveTransmitAckEvent; in LPI2C_SlaveTransferHandleIRQ()
2079 xfer->event = kLPI2C_SlaveTransmitEvent; in LPI2C_SlaveTransferHandleIRQ()
2102 xfer->event = kLPI2C_SlaveReceiveEvent; in LPI2C_SlaveTransferHandleIRQ()
Dfsl_aoi.h135 void AOI_GetEventLogicConfig(AOI_Type *base, aoi_event_t event, aoi_event_config_t *config);
176 void AOI_SetEventLogicConfig(AOI_Type *base, aoi_event_t event, const aoi_event_config_t *eventConf…
Dfsl_i2c.h238 i2c_slave_transfer_event_t event; /*!< A reason that the callback is invoked. */ member
Dfsl_lpi2c.h362 lpi2c_slave_transfer_event_t event; /*!< Reason the callback is being invoked. */ member
/hal_nxp-2.7.6/mcux/drivers/imx/
Dfsl_aoi.c104 void AOI_GetEventLogicConfig(AOI_Type *base, aoi_event_t event, aoi_event_config_t *config) in AOI_GetEventLogicConfig() argument
106 assert((uint32_t)event < (uint32_t)FSL_FEATURE_AOI_EVENT_COUNT); in AOI_GetEventLogicConfig()
112 value = base->BFCRT[event].BFCRT01; in AOI_GetEventLogicConfig()
133 value = base->BFCRT[event].BFCRT23; in AOI_GetEventLogicConfig()
193 void AOI_SetEventLogicConfig(AOI_Type *base, aoi_event_t event, const aoi_event_config_t *eventConf… in AOI_SetEventLogicConfig() argument
196 assert((uint32_t)event < (uint32_t)FSL_FEATURE_AOI_EVENT_COUNT); in AOI_SetEventLogicConfig()
205 base->BFCRT[event].BFCRT01 = value; in AOI_SetEventLogicConfig()
213 base->BFCRT[event].BFCRT23 = value; in AOI_SetEventLogicConfig()
Dfsl_enet.c3606 uint32_t event = base->EIR; in ENET_CommonFrame0IRQHandler() local
3609 event &= base->EIMR; in ENET_CommonFrame0IRQHandler()
3610 if (0U != (event & ((uint32_t)kENET_TxBufferInterrupt | (uint32_t)kENET_TxFrameInterrupt))) in ENET_CommonFrame0IRQHandler()
3622 if (0U != (event & ((uint32_t)kENET_RxBufferInterrupt | (uint32_t)kENET_RxFrameInterrupt))) in ENET_CommonFrame0IRQHandler()
3634 if (0U != (event & ENET_TS_INTERRUPT) && (NULL != s_enetTsIsr[instance])) in ENET_CommonFrame0IRQHandler()
3638 if (0U != (event & ENET_ERR_INTERRUPT) && (NULL != s_enetErrIsr[instance])) in ENET_CommonFrame0IRQHandler()
3654 uint32_t event = base->EIR; in ENET_CommonFrame1IRQHandler() local
3657 event &= base->EIMR; in ENET_CommonFrame1IRQHandler()
3658 if (0U != (event & ((uint32_t)kENET_TxBuffer1Interrupt | (uint32_t)kENET_TxFrame1Interrupt))) in ENET_CommonFrame1IRQHandler()
3666 if (0U != (event & ((uint32_t)kENET_RxBuffer1Interrupt | (uint32_t)kENET_RxFrame1Interrupt))) in ENET_CommonFrame1IRQHandler()
[all …]
Dfsl_aoi.h135 void AOI_GetEventLogicConfig(AOI_Type *base, aoi_event_t event, aoi_event_config_t *config);
176 void AOI_SetEventLogicConfig(AOI_Type *base, aoi_event_t event, const aoi_event_config_t *eventConf…
Dfsl_lpi2c.c2096 xfer->event = kLPI2C_SlaveCompletionEvent; in LPI2C_SlaveTransferHandleIRQ()
2109 xfer->event = (0U != (flags & (uint32_t)kLPI2C_SlaveRepeatedStartDetectFlag)) ? in LPI2C_SlaveTransferHandleIRQ()
2116 if (xfer->event == kLPI2C_SlaveCompletionEvent) in LPI2C_SlaveTransferHandleIRQ()
2137 … if ((0U != (handle->eventMask & (uint32_t)xfer->event)) && (NULL != handle->callback)) in LPI2C_SlaveTransferHandleIRQ()
2147 xfer->event = kLPI2C_SlaveAddressMatchEvent; in LPI2C_SlaveTransferHandleIRQ()
2159 xfer->event = kLPI2C_SlaveTransmitAckEvent; in LPI2C_SlaveTransferHandleIRQ()
2175 xfer->event = kLPI2C_SlaveTransmitEvent; in LPI2C_SlaveTransferHandleIRQ()
2198 xfer->event = kLPI2C_SlaveReceiveEvent; in LPI2C_SlaveTransferHandleIRQ()
Dfsl_lpi2c.h388 lpi2c_slave_transfer_event_t event; /*!< Reason the callback is being invoked. */ member
/hal_nxp-2.7.6/mcux/drivers/imx8/
Dfsl_i2c.c1591 xfer->event = kI2C_SlaveCompletionEvent; in I2C_SlaveTransferHandleIRQ()
1595 if (((handle->eventMask & (uint32_t)xfer->event) != 0U) && (handle->callback != NULL)) in I2C_SlaveTransferHandleIRQ()
1602 xfer->event = kI2C_SlaveCompletionEvent; in I2C_SlaveTransferHandleIRQ()
1606 if (((handle->eventMask & (uint32_t)xfer->event) != 0U) && (handle->callback != NULL)) in I2C_SlaveTransferHandleIRQ()
1615 xfer->event = kI2C_SlaveAddressMatchEvent; in I2C_SlaveTransferHandleIRQ()
1636 if (((handle->eventMask & (uint32_t)xfer->event) != 0U) && (handle->callback != NULL)) in I2C_SlaveTransferHandleIRQ()
1654 xfer->event = kI2C_SlaveReceiveEvent; in I2C_SlaveTransferHandleIRQ()
1677 xfer->event = kI2C_SlaveCompletionEvent; in I2C_SlaveTransferHandleIRQ()
1682 … if (((handle->eventMask & (uint32_t)xfer->event) != 0U) && (handle->callback != NULL)) in I2C_SlaveTransferHandleIRQ()
1702 xfer->event = kI2C_SlaveTransmitEvent; in I2C_SlaveTransferHandleIRQ()
[all …]
Dfsl_i2c.h164 i2c_slave_transfer_event_t event; /*!< A reason that the callback is invoked. */ member
/hal_nxp-2.7.6/mcux/middleware/usb/device/
Dusb_device_ehci.c1109 static usb_hsdcd_status_t USB_DeviceEhciIsrHSDCDCallback(void *handle, uint32_t event, void *param) in USB_DeviceEhciIsrHSDCDCallback() argument
1144 static usb_phydcd_status_t USB_DeviceEhciIsrPHYDCDCallback(void *handle, uint32_t event, void *para… in USB_DeviceEhciIsrPHYDCDCallback() argument

12