/* Gets the current output period in PWM mode.  */
enum timer_pwm_period timer_get_pwm_period(uint32_t timer)
/* Gets the current output period in PWM mode.  */
enum timer_pwm_period timer_get_pwm_period(uint32_t timer)
{
	return TIMER_MOD2LF(timer) & 0x1;
}