init
This commit is contained in:
21
HARDWARE/dma.h
Normal file
21
HARDWARE/dma.h
Normal 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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user