Files
origincar_controller/HARDWARE/dma.h
MobKBK 460e0e9e73 init
2026-06-20 21:22:34 +08:00

22 lines
547 B
C
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/**************************************************************************
作者:平衡小车之家
我的淘宝小店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