Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/counter/
Dcounter_mcux_lptmr.c130 lptmr_config_t lptmr_config; in mcux_lptmr_init() local
132 LPTMR_GetDefaultConfig(&lptmr_config); in mcux_lptmr_init()
133 lptmr_config.timerMode = config->mode; in mcux_lptmr_init()
134 lptmr_config.enableFreeRunning = false; in mcux_lptmr_init()
135 lptmr_config.prescalerClockSource = config->clk_source; in mcux_lptmr_init()
136 lptmr_config.bypassPrescaler = config->bypass_prescaler_glitch; in mcux_lptmr_init()
137 lptmr_config.value = config->prescaler_glitch; in mcux_lptmr_init()
140 lptmr_config.pinSelect = config->pin; in mcux_lptmr_init()
141 lptmr_config.pinPolarity = config->polarity; in mcux_lptmr_init()
144 LPTMR_Init(config->base, &lptmr_config); in mcux_lptmr_init()