| | |
| | | #ifndef __DMA_H |
| | | #define __DMA_H |
| | | #include "sys.h" |
| | | #include "stm32f10x_dma.h" |
| | | #ifndef _DMA_H_ |
| | | #define _DMA_H_ |
| | | |
| | | /****************************************************************************** |
| | | * Copyright (C) 2014-2015 HangZhou SiZhu Co.,LTD. |
| | | * |
| | | *----------------------------------------------------------------------------- |
| | | * File: DMA.h |
| | | * Description: head file of DMA.c used to operate DMA |
| | | * Author: Lishoujian (867693272@qq.com) |
| | | * Date: Jan 8, 2015 |
| | | *****************************************************************************/ |
| | | |
| | | /* ----------------------- Platform includes --------------------------------*/ |
| | | #include "define_all.h" |
| | | |
| | | |
| | | #define DMA_bufsize 1000; //DMA send buffer size |
| | | extern uint16 SendBuff[1000]; |
| | | |
| | | void DMA_Configuration(void); |
| | | void RCC_Configuration(void); |
| | | |
| | | |
| | | #endif |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | #endif |
| | | |