include/arch/arc/v2/arcv2_irq_unit.h
/*
 * @brief Set interrupt priority
 *
 * Set the priority of the specified interrupt
 *
 * @return N/A
 */
@brief Set interrupt priority
Set the priority of the specified interrupt

@return N/A
@brief Set interrupt priority Set the priority of the specified interrupt @return N / A
static inline void _arc_v2_irq_unit_prio_set(int irq, unsigned char prio)
{
	_arc_v2_aux_reg_write(_ARC_V2_IRQ_SELECT, irq);
	_arc_v2_aux_reg_write(_ARC_V2_IRQ_PRIORITY, prio);
}
static inline void _arc_v2_irq_unit_prio_set ( int irq , unsigned char prio ) { _arc_v2_aux_reg_write ( _ARC_V2_IRQ_SELECT , irq ) ; _arc_v2_aux_reg_write ( _ARC_V2_IRQ_PRIORITY , prio ) ; }
@brief Set interrupt priority
 Set the priority of the specified interrupt
@brief Set interrupt priority Set the priority of the specified interrupt