Lines Matching refs:event
388 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
828 uint32_t reg = base->EV[event].CTRL; in SCTIMER_SetupNextStateActionwithLdMethod()
840 base->EV[event].CTRL = reg; in SCTIMER_SetupNextStateActionwithLdMethod()
853 static inline void SCTIMER_SetupNextStateAction(SCT_Type *base, uint32_t nextState, uint32_t event) in SCTIMER_SetupNextStateAction() argument
855 uint32_t reg = base->EV[event].CTRL; in SCTIMER_SetupNextStateAction()
861 base->EV[event].CTRL = reg; in SCTIMER_SetupNextStateAction()
873 uint32_t event) in SCTIMER_SetupEventActiveDirection() argument
875 uint32_t reg = base->EV[event].CTRL; in SCTIMER_SetupEventActiveDirection()
881 base->EV[event].CTRL = reg; in SCTIMER_SetupEventActiveDirection()
893 static inline void SCTIMER_SetupOutputSetAction(SCT_Type *base, uint32_t whichIO, uint32_t event) in SCTIMER_SetupOutputSetAction() argument
897 base->OUT[whichIO].SET |= (1UL << event); in SCTIMER_SetupOutputSetAction()
909 static inline void SCTIMER_SetupOutputClearAction(SCT_Type *base, uint32_t whichIO, uint32_t event) in SCTIMER_SetupOutputClearAction() argument
913 base->OUT[whichIO].CLR |= (1UL << event); in SCTIMER_SetupOutputClearAction()
925 void SCTIMER_SetupOutputToggleAction(SCT_Type *base, uint32_t whichIO, uint32_t event);
937 …oid SCTIMER_SetupCounterLimitAction(SCT_Type *base, sctimer_counter_t whichCounter, uint32_t event) in SCTIMER_SetupCounterLimitAction() argument
944 base->LIMIT_ACCESS16BIT.LIMITL |= SCT_LIMITL_LIMITL(1UL << event); in SCTIMER_SetupCounterLimitAction()
950 base->LIMIT_ACCESS16BIT.LIMITH |= SCT_LIMITH_LIMITH(1UL << event); in SCTIMER_SetupCounterLimitAction()
956 base->LIMIT |= SCT_LIMIT_LIMMSK_L(1UL << event); in SCTIMER_SetupCounterLimitAction()
975 …void SCTIMER_SetupCounterStopAction(SCT_Type *base, sctimer_counter_t whichCounter, uint32_t event) in SCTIMER_SetupCounterStopAction() argument
982 base->STOP_ACCESS16BIT.STOPL |= SCT_STOPL_STOPL(1UL << event); in SCTIMER_SetupCounterStopAction()
988 base->STOP_ACCESS16BIT.STOPH |= SCT_STOPH_STOPH(1UL << event); in SCTIMER_SetupCounterStopAction()
994 base->STOP |= SCT_STOP_STOPMSK_L(1UL << event); in SCTIMER_SetupCounterStopAction()
1013 …oid SCTIMER_SetupCounterStartAction(SCT_Type *base, sctimer_counter_t whichCounter, uint32_t event) in SCTIMER_SetupCounterStartAction() argument
1020 base->START_ACCESS16BIT.STARTL |= SCT_STARTL_STARTL(1UL << event); in SCTIMER_SetupCounterStartAction()
1026 base->START_ACCESS16BIT.STARTH |= SCT_STARTH_STARTH(1UL << event); in SCTIMER_SetupCounterStartAction()
1032 base->START |= SCT_START_STARTMSK_L(1UL << event); in SCTIMER_SetupCounterStartAction()
1053 …void SCTIMER_SetupCounterHaltAction(SCT_Type *base, sctimer_counter_t whichCounter, uint32_t event) in SCTIMER_SetupCounterHaltAction() argument
1060 base->HALT_ACCESS16BIT.HALTL |= SCT_HALTL_HALTL(1UL << event); in SCTIMER_SetupCounterHaltAction()
1066 base->HALT_ACCESS16BIT.HALTH |= SCT_HALTH_HALTH(1UL << event); in SCTIMER_SetupCounterHaltAction()
1072 base->HALT |= SCT_HALT_HALTMSK_L(1UL << event); in SCTIMER_SetupCounterHaltAction()
1091 static inline void SCTIMER_SetupDmaTriggerAction(SCT_Type *base, uint32_t dmaNumber, uint32_t event) in SCTIMER_SetupDmaTriggerAction() argument
1095 base->DMAREQ0 |= (1UL << event); in SCTIMER_SetupDmaTriggerAction()
1099 base->DMAREQ1 |= (1UL << event); in SCTIMER_SetupDmaTriggerAction()
1199 static inline void SCTIMER_SetEventInState(SCT_Type *base, uint32_t event, uint32_t state) in SCTIMER_SetEventInState() argument
1202 assert(event < (uint32_t)FSL_FEATURE_SCT_NUMBER_OF_EVENTS); in SCTIMER_SetEventInState()
1204 base->EV[event].STATE |= SCT_EV_STATE_STATEMSKn((uint32_t)1U << state); in SCTIMER_SetEventInState()
1214 static inline void SCTIMER_ClearEventInState(SCT_Type *base, uint32_t event, uint32_t state) in SCTIMER_ClearEventInState() argument
1217 assert(event < (uint32_t)FSL_FEATURE_SCT_NUMBER_OF_EVENTS); in SCTIMER_ClearEventInState()
1219 base->EV[event].STATE &= ~SCT_EV_STATE_STATEMSKn((uint32_t)1U << state); in SCTIMER_ClearEventInState()
1235 static inline bool SCTIMER_GetEventInState(SCT_Type *base, uint32_t event, uint32_t state) in SCTIMER_GetEventInState() argument
1238 assert(event < (uint32_t)FSL_FEATURE_SCT_NUMBER_OF_EVENTS); in SCTIMER_GetEventInState()
1240 return (0U != (base->EV[event].STATE & SCT_EV_STATE_STATEMSKn((uint32_t)1U << state))); in SCTIMER_GetEventInState()