示例1: dma_irq ▲点赞 9▼ staticvoiddma_irq(DMAName name,intid, SerialIrq txrxirq){if(serial_irq_ids[id] !=0) {if(txrxirq == RxIrq) {if(__HAL_DMA_GET_TC_FLAG_INDEX(&DmaHandle) != RESET) { irq_handler(serial_irq_ids[id], RxIrq);__HAL_DMA_CLEAR_FLAG(&DmaHandle, DMA_...