This commit is contained in:
MobKBK
2026-06-20 21:22:34 +08:00
commit 460e0e9e73
320 changed files with 135203 additions and 0 deletions

21
HARDWARE/dma.h Normal file
View File

@@ -0,0 +1,21 @@
/**************************************************************************
作者:平衡小车之家
我的淘宝小店http://shop114407458.taobao.com/
**************************************************************************/
#ifndef __DMA_H
#define __DMA_H
#include "stm32f10x_dma.h"
#include "sys.h"
#include "system.h"
void MYDMA_Init2(DMA_Channel_TypeDef*DMA_CHx,u32 cpar,u32 cmar,u16 cndtr);
void MYDMA_Enable2(DMA_Channel_TypeDef*DMA_CHx);
void DMA_printf(const char *format,...);
u32 USART_SendBuffer(const char* buffer, u32 length);
#endif