Home
last modified time | relevance | path

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

/hal_nxp-latest/mcux/mcux-sdk/components/timer/
Dfsl_adapter_ostimer.c26 static OSTIMER_Type *const s_ostimerBase[] = OSTIMER_BASE_PTRS; variable
28 static hal_timer_handle_t s_timerHandle[sizeof(s_ostimerBase) / sizeof(OSTIMER_Type *)];
70 assert(halTimerConfig->instance < (sizeof(s_ostimerBase) / sizeof(OSTIMER_Type *))); in HAL_TimerInit()
75 OSTIMER_Init(s_ostimerBase[halTimerState->instance]); in HAL_TimerInit()
85 OSTIMER_Deinit(s_ostimerBase[halTimerState->instance]); in HAL_TimerDeinit()
127 …return (uint32_t)COUNT_TO_USEC(OSTIMER_GetCurrentTimerValue(s_ostimerBase[halTimerState->instance]… in HAL_TimerGetCurrentTimerCount()
134 …uint64_t timerTicks = OSTIMER_GetCurrentTimerValue(s_ostimerBase[halTimerStat… in HAL_TimerUpdateTimeout()
139 OSTIMER_SetMatchValue(s_ostimerBase[halTimerState->instance], timerTicks, in HAL_TimerUpdateTimeout()
/hal_nxp-latest/mcux/mcux-sdk/components/time_stamp/
Dfsl_adapter_ostimer_time_stamp.c22 static OSTIMER_Type *const s_ostimerBase[] = OSTIMER_BASE_PTRS; variable
45 assert(halTimeStampConfig->instance < (sizeof(s_ostimerBase) / sizeof(OSTIMER_Type *))); in HAL_TimeStampInit()
49 OSTIMER_Init(s_ostimerBase[halTimeStampState->timeStampInstance]); in HAL_TimeStampInit()
64 …uint64_t timerCount = OSTIMER_GetCurrentTimerValue(s_ostimerBase[halTimeStampState->timeStampInsta… in HAL_GetTimeStamp()
75 OSTIMER_Init(s_ostimerBase[halTimeStampState->timeStampInstance]); in HAL_TimeStampExitLowpower()
83 OSTIMER_Deinit(s_ostimerBase[halTimeStampState->timeStampInstance]); in HAL_TimeStampEnterLowpower()