Lines Matching refs:base
21 LPTMR_Type *base; member
40 LPTMR_EnableInterrupts(config->base, in mcux_lptmr_start()
42 LPTMR_StartTimer(config->base); in mcux_lptmr_start()
51 LPTMR_DisableInterrupts(config->base, in mcux_lptmr_stop()
53 LPTMR_StopTimer(config->base); in mcux_lptmr_stop()
62 *ticks = LPTMR_GetCurrentTimerCount(config->base); in mcux_lptmr_get_value()
80 if (config->base->CSR & LPTMR_CSR_TEN_MASK) { in mcux_lptmr_set_top_value()
85 LPTMR_StopTimer(config->base); in mcux_lptmr_set_top_value()
86 LPTMR_SetTimerPeriod(config->base, cfg->ticks); in mcux_lptmr_set_top_value()
87 LPTMR_StartTimer(config->base); in mcux_lptmr_set_top_value()
89 LPTMR_SetTimerPeriod(config->base, cfg->ticks); in mcux_lptmr_set_top_value()
101 flags = LPTMR_GetStatusFlags(config->base); in mcux_lptmr_get_pending_int()
110 return (config->base->CMR & LPTMR_CMR_COMPARE_MASK) + 1U; in mcux_lptmr_get_top_value()
119 flags = LPTMR_GetStatusFlags(config->base); in mcux_lptmr_isr()
120 LPTMR_ClearStatusFlags(config->base, flags); in mcux_lptmr_isr()
144 LPTMR_Init(config->base, &lptmr_config); in mcux_lptmr_init()
146 LPTMR_SetTimerPeriod(config->base, config->info.max_top_value); in mcux_lptmr_init()
190 .base = (LPTMR_Type *)DT_INST_REG_ADDR(n), \