soft_system.c 324 B

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