FreeRTOS/Demo/RISC-V_RV64_PolarFire_SoftConsole/polarfire_hal/platform/mpfs_hal/common/mss_plic.h
/***************************************************************************/
/**
 * The function PLIC_SetPriority() sets the priority for the external interrupt
 * for the interrupt number indicated by the parameter IRQn.
 */
The function PLIC_SetPriority() sets the priority for the external interrupt
for the interrupt number indicated by the parameter IRQn.
The function PLIC_SetPriority () sets the priority for the external interrupt for the interrupt number indicated by the parameter IRQn .
static inline void PLIC_SetPriority(PLIC_IRQn_Type IRQn, uint32_t priority)
{
    if((IRQn > INVALID_IRQn) && (IRQn < PLIC_NUM_SOURCES))
    {
        PLIC->SOURCE_PRIORITY[IRQn-1] = priority;
    }
}
static inline void PLIC_SetPriority ( PLIC_IRQn_Type IRQn , uint32_t priority ) { if ( ( IRQn > INVALID_IRQn ) && ( IRQn < PLIC_NUM_SOURCES ) ) { PLIC -> SOURCE_PRIORITY [ IRQn - 1 ] = priority ; } }
The function PLIC_SetPriority() sets the priority for the external interrupt
 for the interrupt number indicated by the parameter IRQn.
The function PLIC_SetPriority () sets the priority for the external interrupt for the interrupt number indicated by the parameter IRQn .