#include "led.h"
#include "delay.h"
#include "key.h"
#include "sys.h"
#include "lcd.h"
#include "usart.h"
#include "lsens.h"
#include "adc.h"
#include "dac.h"
//#include "pwmdac.h"
#define SEND_BUF_SIZE 8200
u8 SendBuff[SEND_BUF_SIZE]; //发送数据缓冲区
u16 DMA1_MEM_LEN;//保存 DMA 每次数据传送的长度
const u8 TEXT_TO_SEND[]={
"GTXY CHENLEYOU STM32F1 DMA 串口实验"};
void dmaInit(DMA_Channel_TypeDef* DMA_CHx,u32 cpar,u32 cmar,u16 cndtr);
void dmaEnable(DMA_Channel_TypeDef* DMA_CHx);
int main(void)
{
// u16 pwmval=0;
// u16 adcx=0;
u8 j,mask=0;
u8 key
炒冷饭系列-STM32F103之DMA
最新推荐文章于 2024-06-03 20:06:04 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)