Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/pwm/
Dpwm_mcux_pwt.c43 pwt_config_t pwt_config; member
105 data->pwt_config.inputSelect = channel; in mcux_pwt_configure_capture()
112 PWT_Init(config->base, &data->pwt_config); in mcux_pwt_configure_capture()
270 data->callback(dev, data->pwt_config.inputSelect, in mcux_pwt_isr()
298 pwt_config_t *pwt_config = &data->pwt_config; in mcux_pwt_init() local
312 PWT_GetDefaultConfig(pwt_config); in mcux_pwt_init()
313 pwt_config->clockSource = config->pwt_clock_source; in mcux_pwt_init()
314 pwt_config->prescale = config->prescale; in mcux_pwt_init()
315 pwt_config->enableFirstCounterLoad = true; in mcux_pwt_init()
316 PWT_Init(config->base, pwt_config); in mcux_pwt_init()