Home
last modified time | relevance | path

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

/hal_nxp-latest/mcux/mcux-sdk/components/timer/
Dfsl_adapter_ftm.c27 static FTM_Type *const s_FtmBase[] = FTM_BASE_PTRS; variable
29 static hal_timer_handle_t s_timerHandle[sizeof(s_FtmBase) / sizeof(FTM_Type *)];
45 FTM_ClearStatusFlags(s_FtmBase[instance], (uint32_t)kFTM_TimeOverflowFlag); in HAL_TimerInterruptHandle()
89 assert(halTimerConfig->instance < (sizeof(s_FtmBase) / sizeof(FTM_Type *))); in HAL_TimerInit()
93 FTMBaseAddr = (FTM_Type *)s_FtmBase[halTimerState->instance]; in HAL_TimerInit()
123 FTM_Deinit(s_FtmBase[halTimerState->instance]); in HAL_TimerDeinit()
130 FTM_StartTimer(s_FtmBase[halTimerState->instance], kFTM_SystemClock); in HAL_TimerEnable()
138 FTM_StopTimer(s_FtmBase[halTimerState->instance]); in HAL_TimerDisable()
168 …return (uint32_t)COUNT_TO_USEC((uint64_t)FTM_GetCurrentTimerCount(s_FtmBase[halTimerState->instanc… in HAL_TimerGetCurrentTimerCount()
188 FTM_SetTimerPeriod(s_FtmBase[halTimerState->instance], tickCount); in HAL_TimerUpdateTimeout()