/* Setup the timer in duty cycle capture mode.  */
void timer_duty_cycle_capture_setup(uint32_t timer, bool timer_int_en, enum timer_edge_modes edge_mode, enum timer_loop_modes loop_mode)
/* Setup the timer in duty cycle capture mode.  */
void timer_duty_cycle_capture_setup(uint32_t timer, bool timer_int_en, enum timer_edge_modes edge_mode, enum timer_loop_modes loop_mode)
{
	timer_setup_internal(timer, timer_int_en, TIMER_MODE_DUTY_CYCLE_CAPTURE,
			     edge_mode, loop_mode, TIMER_CLK_INTERNAL,
			     TIMER_OUTPUT_NONE, TIMER_LEVEL_LOW);
}