include/arch/arc/v2/arcv2_irq_unit.h
/*
 * @brief Set interrupt sensitivity
 *
 * Set the sensitivity of the specified interrupt to either
 * _ARC_V2_INT_LEVEL or _ARC_V2_INT_PULSE. Level interrupts will remain
 * asserted until the interrupt handler clears the interrupt at the peripheral.
 * Pulse interrupts self-clear as the interrupt handler is entered.
 *
 * @return N/A
 */
@brief Set interrupt sensitivity
Set the sensitivity of the specified interrupt to either
_ARC_V2_INT_LEVEL or _ARC_V2_INT_PULSE. Level interrupts will remain
asserted until the interrupt handler clears the interrupt at the peripheral.
Pulse interrupts self-clear as the interrupt handler is entered.

@return N/A
@brief Set interrupt sensitivity Set the sensitivity of the specified interrupt to either _ARC_V2_INT_LEVEL or _ARC_V2_INT_PULSE . Level interrupts will remain asserted until the interrupt handler clears the interrupt at the peripheral . Pulse interrupts self - clear as the interrupt handler is entered . @return N / A
static inline void _arc_v2_irq_unit_sensitivity_set(int irq, int s)
{
	_arc_v2_aux_reg_write(_ARC_V2_IRQ_SELECT, irq);
	_arc_v2_aux_reg_write(_ARC_V2_IRQ_TRIGGER, s);
}
static inline void _arc_v2_irq_unit_sensitivity_set ( int irq , int s ) { _arc_v2_aux_reg_write ( _ARC_V2_IRQ_SELECT , irq ) ; _arc_v2_aux_reg_write ( _ARC_V2_IRQ_TRIGGER , s ) ; }
@brief Set interrupt sensitivity
 Set the sensitivity of the specified interrupt to either
 _ARC_V2_INT_LEVEL or _ARC_V2_INT_PULSE.
@brief Set interrupt sensitivity Set the sensitivity of the specified interrupt to either _ARC_V2_INT_LEVEL or _ARC_V2_INT_PULSE .