/* Globally enable interrupts. 
This function globally enables interrupts. This is performed by setting the 'I' bit in the CPU's Processor Status Word (PSW) register.  */
void R_BSP_InterruptsEnable(void)
/* Globally enable interrupts. 
This function globally enables interrupts. This is performed by setting the 'I' bit in the CPU's Processor Status Word (PSW) register.  */
void R_BSP_InterruptsEnable(void)
{
    uint32_t    pmode;
    pmode = (R_BSP_GET_PSW() & 0x00100000);
    if (0 == pmode)
    {
        R_BSP_SETPSW_I();
    }
}