#include "hard_system.h" #include "soft_system.h" void system_reset(void) { sys_reset(); } void close_imu_dma(void) { u3_dma_disable(); // 实际dma通道未使用 使用串口fifo中断替代了 实在要用dma 需要触发io物理接在串口接收io 消耗定时器的2路通道 软件模拟空闲中断 }