IntStatus Chip_GPDMA_IntGetStatus(LPC_GPDMA_T *pGPDMA, GPDMA_STATUS_T type, uint8_t channel) |
switch (type) { case GPDMA_STAT_INT:/* check status of DMA channel interrupts */ return (IntStatus) (pGPDMA->INTSTAT & (((1UL << channel) & 0xFF))); ... |
switch (type) { case GPDMA_STAT_INT:/* check status of DMA channel interrupts */ return (pGPDMA->INTSTAT & (((1UL << channel) & 0xFF))) ? SET : RESET; ... |