blob: 4a924d9bc09a25c17373b30f5d893024a96bcc53 (
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
25
26
|
/*
* Devices.h
*
* Created on: 11 Aug 2020
* Author: David
*/
#ifndef SRC_HARDWARE_SAME70_DEVICES_H_
#define SRC_HARDWARE_SAME70_DEVICES_H_
#include <AsyncSerial.h>
typedef AsyncSerial UARTClass;
#include <USARTClass.h>
extern AsyncSerial Serial;
extern USARTClass Serial1;
#define SUPPORT_USB 1 // needed by SerialCDC.h
#include "SerialCDC.h"
extern SerialCDC SerialUSB;
void DeviceInit() noexcept;
void StopAnalogTask() noexcept;
#endif /* SRC_HARDWARE_SAME70_DEVICES_H_ */
|