/* get the bit value of EXMC send write command bit or read ID command  */
FlagStatus exmc_sqpipsram_send_command_state_get(uint32_t send_command_flag)
/* get the bit value of EXMC send write command bit or read ID command  */
FlagStatus exmc_sqpipsram_send_command_state_get(uint32_t send_command_flag)
{
    uint32_t flag = 0x00000000U;
    if(EXMC_SEND_COMMAND_FLAG_RDID == send_command_flag){
        flag = EXMC_SRCMD;
    }else if(EXMC_SEND_COMMAND_FLAG_SC == send_command_flag){
        flag = EXMC_SWCMD;
    }else{
    }
    if (flag & send_command_flag){
        return SET;
    }else{
        return RESET;
    }
}