Home
last modified time | relevance | path

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

/Zephyr-Core-3.6.0/drivers/timer/
Dmcux_lptmr_timer.c42 #define LPTMR_BASE ((LPTMR_Type *)(DT_INST_REG_ADDR(0))) macro
61 LPTMR_DisableInterrupts(LPTMR_BASE, kLPTMR_TimerInterruptEnable); in sys_clock_set_timeout()
67 if (LPTMR_GetEnabledInterrupts(LPTMR_BASE) != kLPTMR_TimerInterruptEnable) { in sys_clock_idle_exit()
68 LPTMR_EnableInterrupts(LPTMR_BASE, kLPTMR_TimerInterruptEnable); in sys_clock_idle_exit()
74 LPTMR_DisableInterrupts(LPTMR_BASE, kLPTMR_TimerInterruptEnable); in sys_clock_disable()
75 LPTMR_StopTimer(LPTMR_BASE); in sys_clock_disable()
85 return LPTMR_GetCurrentTimerCount(LPTMR_BASE) + cycles; in sys_clock_cycle_get_32()
95 LPTMR_ClearStatusFlags(LPTMR_BASE, kLPTMR_TimerCompareFlag); in mcux_lptmr_timer_isr()
115 LPTMR_Init(LPTMR_BASE, &config); in sys_clock_driver_init()
120 LPTMR_EnableInterrupts(LPTMR_BASE, kLPTMR_TimerInterruptEnable); in sys_clock_driver_init()
[all …]