Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/pwm/
Dpwm_stm32.c515 struct pwm_stm32_capture_data *cpt = &data->capture; in pwm_stm32_configure_capture() local
547 cpt->callback = cb; /* even if the cb is reset, this is not an error */ in pwm_stm32_configure_capture()
548 cpt->user_data = user_data; in pwm_stm32_configure_capture()
549 cpt->capture_period = (flags & PWM_CAPTURE_TYPE_PERIOD) ? true : false; in pwm_stm32_configure_capture()
550 cpt->capture_pulse = (flags & PWM_CAPTURE_TYPE_PULSE) ? true : false; in pwm_stm32_configure_capture()
551 cpt->continuous = (flags & PWM_CAPTURE_MODE_CONTINUOUS) ? true : false; in pwm_stm32_configure_capture()
585 struct pwm_stm32_capture_data *cpt = &data->capture; in pwm_stm32_enable_capture() local
610 cpt->channel = channel; in pwm_stm32_enable_capture()
611 cpt->state = CAPTURE_STATE_WAIT_FOR_PULSE_START; in pwm_stm32_enable_capture()
661 struct pwm_stm32_capture_data *cpt = &data->capture; in pwm_stm32_isr() local
[all …]