driver_init.h 966 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. #include "atmel_start_pins.h"
  11. #ifdef __cplusplus
  12. extern "C" {
  13. #endif
  14. #include <hal_atomic.h>
  15. #include <hal_delay.h>
  16. #include <hal_gpio.h>
  17. #include <hal_init.h>
  18. #include <hal_io.h>
  19. #include <hal_sleep.h>
  20. #include <hal_usart_async.h>
  21. #include "hal_usb_device.h"
  22. extern struct usart_async_descriptor TARGET_IO;
  23. void TARGET_IO_PORT_init(void);
  24. void TARGET_IO_CLOCK_init(void);
  25. void TARGET_IO_init(void);
  26. void USB_DEVICE_INSTANCE_CLOCK_init(void);
  27. void USB_DEVICE_INSTANCE_init(void);
  28. /**
  29. * \brief Perform system initialization, initialize pins and clocks for
  30. * peripherals
  31. */
  32. void system_init(void);
  33. #ifdef __cplusplus
  34. }
  35. #endif
  36. #endif // DRIVER_INIT_INCLUDED