Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/pwm/
Dpwm_mcux_qtmr.c132 qtmr_config_t qtmr_config; in mcux_qtmr_pwm_init() local
142 QTMR_GetDefaultConfig(&qtmr_config); in mcux_qtmr_pwm_init()
143 qtmr_config.primarySource = kQTMR_ClockDivide_1 + (31 - __builtin_clz(config->prescaler)); in mcux_qtmr_pwm_init()
146 QTMR_Init(config->base, i, &qtmr_config); in mcux_qtmr_pwm_init()
/Zephyr-latest/drivers/counter/
Dcounter_mcux_qtmr.c33 qtmr_config_t qtmr_config; member
268 if (config->qtmr_config.primarySource < kQTMR_ClockDivide_1) { in mcux_qtmr_init()
283 data->freq /= qtmr_primary_source_divider[config->qtmr_config.primarySource - in mcux_qtmr_init()
287 QTMR_Init(config->base, config->channel, &config->qtmr_config); in mcux_qtmr_init()
319 .qtmr_config = { \