1
+ /*
2
+ * This file is part of the Arduino_ThreadsafeIO library.
3
+ * Copyright (c) 2021 Arduino SA.
4
+ *
5
+ * This library is free software; you can redistribute it and/or
6
+ * modify it under the terms of the GNU Lesser General Public
7
+ * License as published by the Free Software Foundation; either
8
+ * version 2.1 of the License, or (at your option) any later version.
9
+ * This library is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
+ * Lesser General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU Lesser General Public
15
+ * License along with this library; if not, write to the Free Software
16
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17
+ */
18
+
19
+ #ifndef ARDUINO_THREADS_UTIL_H_
20
+ #define ARDUINO_THREADS_UTIL_H_
21
+
22
+ /**************************************************************************************
23
+ * INCLUDE
24
+ **************************************************************************************/
25
+
26
+ #include "../BusDevice.h"
27
+ #include "../IoTransaction.h"
28
+
29
+ /**************************************************************************************
30
+ * FUNCTION DECLARATION
31
+ **************************************************************************************/
32
+
33
+ IoResponse transfer_and_wait (BusDevice & dev , IoRequest & req );
34
+
35
+ #endif /* ARDUINO_THREADS_UTIL_H_ */
0 commit comments