Kévin Redon | 69b92d9 | 2019-01-24 16:39:20 +0100 | [diff] [blame] | 1 | #ifndef ATMEL_START_H_INCLUDED |
| 2 | #define ATMEL_START_H_INCLUDED |
| 3 | |
| 4 | #ifdef __cplusplus |
| 5 | extern "C" { |
| 6 | #endif |
| 7 | |
Kévin Redon | c94e0fc | 2019-03-07 19:15:29 +0100 | [diff] [blame] | 8 | #include <dma_memory.h> |
| 9 | |
Kévin Redon | 69b92d9 | 2019-01-24 16:39:20 +0100 | [diff] [blame] | 10 | #include "driver_init.h" |
| 11 | #include "usb_start.h" |
Harald Welte | 361ed20 | 2019-02-24 21:15:39 +0100 | [diff] [blame] | 12 | #include "stdio_start.h" |
Kévin Redon | 69b92d9 | 2019-01-24 16:39:20 +0100 | [diff] [blame] | 13 | |
Kévin Redon | c94e0fc | 2019-03-07 19:15:29 +0100 | [diff] [blame] | 14 | /** flag set when the memory to memory DMA is complete */ |
| 15 | volatile bool dma_m2m_complete_flag; |
| 16 | |
Kévin Redon | 69b92d9 | 2019-01-24 16:39:20 +0100 | [diff] [blame] | 17 | /** |
| 18 | * Initializes MCU, drivers and middleware in the project |
| 19 | **/ |
| 20 | void atmel_start_init(void); |
| 21 | |
| 22 | #ifdef __cplusplus |
| 23 | } |
| 24 | #endif |
| 25 | #endif |