/* check EXMC interrupt flag is set or not  */
FlagStatus exmc_interrupt_flag_get(uint32_t bank, uint32_t interrupt_source)
/* check EXMC interrupt flag is set or not  */
FlagStatus exmc_interrupt_flag_get(uint32_t bank, uint32_t interrupt_source)
{
    uint32_t status = 0x00000000U,interrupt_enable = 0x00000000U,interrupt_state = 0x00000000U;
    status = EXMC_NPINTEN(bank);
    interrupt_state = (status & (interrupt_source >> INTEN_INTS_OFFSET));
    interrupt_enable = (status & interrupt_source);
    if ((interrupt_enable) && (interrupt_state)){
        return SET;
    }else{
        return RESET;
    }
}