aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/STM32F4xx/FSMC_SRAM/memcpy_dma.h
blob: ceefee1b5ff44341fb5ced19edd7f03e99fdd4f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef MEMCPY_DMA_H_
#define MEMCPY_DMA_H_

/*
 *
 */
typedef struct {
  const stm32_dma_stream_t *dma;
} memcpy_dma_engine_t;

/*
 *
 */
#ifdef __cplusplus
extern "C" {
#endif
  void memcpy_dma_start(void);
  void memcpy_dma_stop(void);
  void memcpy_dma(void *dest, const void *src, size_t size);
#ifdef __cplusplus
}
#endif

#endif /* MEMCPY_DMA_H_ */