/* Get the status of the dcp channel. 
@para ch the channel index  */
int dcp_wait_channel_cmpl(uint32_t ch)
/* Get the status of the dcp channel. 
@para ch the channel index  */
int dcp_wait_channel_cmpl(uint32_t ch)
{
	while(((HW_DCP_STAT.B.IRQ) & (0x1<<ch)) == 0);
	HW_DCP_STAT_CLR(0x1<<ch);
	return 0;
}