blob: 7067684ece06fb029cd483beffd1883368156194 [file] [log] [blame]
Kévin Redon69b92d92019-01-24 16:39:20 +01001/*
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
14extern "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 Redon4cd3f7d2019-01-24 17:57:13 +010024#include <hal_usart_sync.h>
25
Kévin Redon69b92d92019-01-24 16:39:20 +010026#include "hal_usb_device.h"
27
Kévin Redon4cd3f7d2019-01-24 17:57:13 +010028extern struct usart_sync_descriptor UART_debug;
29
30void UART_debug_PORT_init(void);
31void UART_debug_CLOCK_init(void);
32void UART_debug_init(void);
33
Kévin Redon69b92d92019-01-24 16:39:20 +010034void USB_DEVICE_INSTANCE_CLOCK_init(void);
35void USB_DEVICE_INSTANCE_init(void);
36
37/**
38 * \brief Perform system initialization, initialize pins and clocks for
39 * peripherals
40 */
41void system_init(void);
42
43#ifdef __cplusplus
44}
45#endif
46#endif // DRIVER_INIT_INCLUDED