Kévin Redon | 69b92d9 | 2019-01-24 16:39:20 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Code generated from Atmel Start. |
| 3 | * |
| 4 | * This file will be overwritten when reconfiguring your Atmel Start project. |
| 5 | * Please copy examples or other code you want to keep to a separate file |
| 6 | * to avoid losing it when reconfiguring. |
| 7 | */ |
| 8 | #ifndef DRIVER_INIT_INCLUDED |
| 9 | #define DRIVER_INIT_INCLUDED |
| 10 | |
| 11 | #include "atmel_start_pins.h" |
| 12 | |
| 13 | #ifdef __cplusplus |
| 14 | extern "C" { |
| 15 | #endif |
| 16 | |
| 17 | #include <hal_atomic.h> |
| 18 | #include <hal_delay.h> |
| 19 | #include <hal_gpio.h> |
| 20 | #include <hal_init.h> |
| 21 | #include <hal_io.h> |
| 22 | #include <hal_sleep.h> |
| 23 | |
Kévin Redon | ccbed0b | 2019-01-24 18:30:26 +0100 | [diff] [blame^] | 24 | #include <hal_usart_async.h> |
Kévin Redon | 4cd3f7d | 2019-01-24 17:57:13 +0100 | [diff] [blame] | 25 | |
Kévin Redon | 69b92d9 | 2019-01-24 16:39:20 +0100 | [diff] [blame] | 26 | #include "hal_usb_device.h" |
| 27 | |
Kévin Redon | ccbed0b | 2019-01-24 18:30:26 +0100 | [diff] [blame^] | 28 | extern struct usart_async_descriptor UART_debug; |
Kévin Redon | 4cd3f7d | 2019-01-24 17:57:13 +0100 | [diff] [blame] | 29 | |
| 30 | void UART_debug_PORT_init(void); |
| 31 | void UART_debug_CLOCK_init(void); |
| 32 | void UART_debug_init(void); |
| 33 | |
Kévin Redon | 69b92d9 | 2019-01-24 16:39:20 +0100 | [diff] [blame] | 34 | void USB_DEVICE_INSTANCE_CLOCK_init(void); |
| 35 | void USB_DEVICE_INSTANCE_init(void); |
| 36 | |
| 37 | /** |
| 38 | * \brief Perform system initialization, initialize pins and clocks for |
| 39 | * peripherals |
| 40 | */ |
| 41 | void system_init(void); |
| 42 | |
| 43 | #ifdef __cplusplus |
| 44 | } |
| 45 | #endif |
| 46 | #endif // DRIVER_INIT_INCLUDED |