asf/sam/drivers/pwm/pwm.c
void pwm_channel_disable_interrupt(Pwm *p_pwm, uint32_t ul_event,
		uint32_t ul_fault)
{
#if (SAM3N || SAM4N || SAM4C || SAM4CP || SAM4CM)
	p_pwm->PWM_IDR = (1 << ul_event);
	/* avoid Cppcheck Warning */
	UNUSED(ul_fault);
#else
	p_pwm->PWM_IDR1 = (1 << ul_event) | (1 << (ul_fault + 16));
#endif
}
/**
 * \brief Disable the interrupt of a channel counter event and fault protection.
 *
 * \param p_pwm Pointer to a PWM instance.
 * \param ul_event Bitmask of channel number to disable counter event interrupt.
 * \param ul_fault Bitmask of channel number to disable fault protection
 * interrupt(ignored by SAM3N/SAM4N/SAM4C/SAM4CP/SAM4CM).
 */
\brief Disable the interrupt of a channel counter event and fault protection.
\param p_pwm Pointer to a PWM instance.
\param ul_event Bitmask of channel number to disable counter event interrupt.
\param ul_fault Bitmask of channel number to disable fault protection
interrupt(ignored by SAM3N/SAM4N/SAM4C/SAM4CP/SAM4CM).
\ brief Disable the interrupt of a channel counter event and fault protection . \ param p_pwm Pointer to a PWM instance . \ param ul_event Bitmask of channel number to disable counter event interrupt . \ param ul_fault Bitmask of channel number to disable fault protection interrupt ( ignored by SAM3N / SAM4N / SAM4C / SAM4CP / SAM4CM ) .
void pwm_channel_disable_interrupt(Pwm *p_pwm, uint32_t ul_event,
		uint32_t ul_fault)
{
#if (SAM3N || SAM4N || SAM4C || SAM4CP || SAM4CM)
	p_pwm->PWM_IDR = (1 << ul_event);
	UNUSED(ul_fault);
#else
	p_pwm->PWM_IDR1 = (1 << ul_event) | (1 << (ul_fault + 16));
#endif
}
void pwm_channel_disable_interrupt ( Pwm * p_pwm , uint32_t ul_event , uint32_t ul_fault ) { #if ( SAM3N || SAM4N || SAM4C || SAM4CP || SAM4CM ) p_pwm -> PWM_IDR = ( 1 << ul_event ) ; UNUSED ( ul_fault ) ; #else p_pwm -> PWM_IDR1 = ( 1 << ul_event ) | ( 1 << ( ul_fault + 16 ) ) ; #endif }
\brief Disable the interrupt of a channel counter event and fault protection.
\ brief Disable the interrupt of a channel counter event and fault protection .
/* avoid Cppcheck Warning */