asf/sam/drivers/pwm/pwm.c
uint32_t pwm_channel_get_interrupt_mask(Pwm *p_pwm)
{
#if (SAM3N || SAM4N || SAM4C || SAM4CP || SAM4CM)
	return p_pwm->PWM_IMR;
#else
	return p_pwm->PWM_IMR1;
#endif
}
/**
 * \brief Get channel counter event and fault protection trigger interrupt mask.
 *
 * \param p_pwm Pointer to a PWM instance.
 *
 * \return Channel counter event and fault protection trigger interrupt mask.
 */
\brief Get channel counter event and fault protection trigger interrupt mask.
\param p_pwm Pointer to a PWM instance.

\return Channel counter event and fault protection trigger interrupt mask.
\ brief Get channel counter event and fault protection trigger interrupt mask . \ param p_pwm Pointer to a PWM instance . \ return Channel counter event and fault protection trigger interrupt mask .
uint32_t pwm_channel_get_interrupt_mask(Pwm *p_pwm)
{
#if (SAM3N || SAM4N || SAM4C || SAM4CP || SAM4CM)
	return p_pwm->PWM_IMR;
#else
	return p_pwm->PWM_IMR1;
#endif
}
uint32_t pwm_channel_get_interrupt_mask ( Pwm * p_pwm ) { #if ( SAM3N || SAM4N || SAM4C || SAM4CP || SAM4CM ) return p_pwm -> PWM_IMR ; #else return p_pwm -> PWM_IMR1 ; #endif }
\brief Get channel counter event and fault protection trigger interrupt mask.
\ brief Get channel counter event and fault protection trigger interrupt mask .