Home
last modified time | relevance | path

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

/hal_nxp-latest/mcux/mcux-sdk/components/timer/
Dfsl_adapter_lptmr.c32 static LPTMR_Type *const s_LptmrBase[] = LPTMR_BASE_PTRS; variable
34 static hal_timer_handle_t s_timerHandle[sizeof(s_LptmrBase) / sizeof(LPTMR_Type *)];
50 lptmrIntFlag = LPTMR_GetStatusFlags(s_LptmrBase[instance]); in HAL_TimerInterruptHandle()
51 LPTMR_ClearStatusFlags(s_LptmrBase[instance], (uint32_t)kLPTMR_TimerCompareFlag); in HAL_TimerInterruptHandle()
109 assert(halTimerConfig->instance < (sizeof(s_LptmrBase) / sizeof(LPTMR_Type *))); in HAL_TimerInit()
124 LPTMR_Init(s_LptmrBase[halTimerState->instance], &lptmrConfig); in HAL_TimerInit()
130 LPTMR_SetTimerPeriod(s_LptmrBase[halTimerState->instance], in HAL_TimerInit()
134 …LPTMR_EnableInterrupts(s_LptmrBase[halTimerState->instance], (uint32_t)kLPTMR_TimerInterruptEnable… in HAL_TimerInit()
148 LPTMR_Deinit(s_LptmrBase[halTimerState->instance]); in HAL_TimerDeinit()
155 LPTMR_StartTimer(s_LptmrBase[halTimerState->instance]); in HAL_TimerEnable()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/components/time_stamp/
Dfsl_adapter_lptmr_time_stamp.c24 static LPTMR_Type *const s_LptmrBase[] = LPTMR_BASE_PTRS; variable
52 LPTMR_Init(s_LptmrBase[halTimeStampState->timeStampInstance], &lptmrConfig); in HAL_HWTimeStampInit()
54 LPTMR_SetTimerPeriod(s_LptmrBase[halTimeStampState->timeStampInstance], 0xFFFFFFFFUL); in HAL_HWTimeStampInit()
56 LPTMR_SetTimerPeriod(s_LptmrBase[halTimeStampState->timeStampInstance], 0xFFFFUL); in HAL_HWTimeStampInit()
59 …LPTMR_DisableInterrupts(s_LptmrBase[halTimeStampState->timeStampInstance], (uint32_t)kLPTMR_TimerI… in HAL_HWTimeStampInit()
61 LPTMR_StartTimer(s_LptmrBase[halTimeStampState->timeStampInstance]); in HAL_HWTimeStampInit()
95 …return COUNT_TO_USEC(LPTMR_GetCurrentTimerCount(s_LptmrBase[halTimeStampState->timeStampInstance]), in HAL_GetTimeStamp()