/* SDIO disable or enable interrupt by modify the interrupt mask.  */
VOID SDIO_INTConfig(u16 IntMask, u32 NewState)
/* SDIO disable or enable interrupt by modify the interrupt mask.  */
VOID SDIO_INTConfig(u16 IntMask, u32 NewState)
{
	u16 IntMaskTmp = HAL_SDIO_READ16(REG_SPDIO_CPU_INT_MASK);
	if (NewState == ENABLE) {
		IntMaskTmp |= IntMask;
	} else {
		IntMaskTmp &= ~IntMask;
	}
	HAL_SDIO_WRITE16(REG_SPDIO_CPU_INT_MASK, IntMaskTmp);
}