customized SNICInterface
Fork of NySNICInterface by
SNIC/MurataObject.h@40:b6b10c22a121, 2014-07-15 (annotated)
- Committer:
- kishino
- Date:
- Tue Jul 15 09:56:37 2014 +0000
- Revision:
- 40:b6b10c22a121
- Parent:
- 39:a1233ca02edf
- Child:
- 41:1c1b5ad4d491
The platform-dependent code was modified to implemented in ifdef.; The process of debug log output was changed to macro.;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
kishino | 39:a1233ca02edf | 1 | /* Copyright (C) 2014 Murata Manufacturing Co.,Ltd., MIT License |
kishino | 39:a1233ca02edf | 2 | * muRata, SWITCH SCIENCE Wi-FI module TypeYD-SNIC UART. |
kishino | 25:67183ed15708 | 3 | * |
kishino | 39:a1233ca02edf | 4 | * Permission is hereby granted, free of charge, to any person obtaining a copy of this software |
kishino | 39:a1233ca02edf | 5 | * and associated documentation files (the "Software"), to deal in the Software without restriction, |
kishino | 39:a1233ca02edf | 6 | * including without limitation the rights to use, copy, modify, merge, publish, distribute, |
kishino | 39:a1233ca02edf | 7 | * sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is |
kishino | 39:a1233ca02edf | 8 | * furnished to do so, subject to the following conditions: |
kishino | 25:67183ed15708 | 9 | * |
kishino | 39:a1233ca02edf | 10 | * The above copyright notice and this permission notice shall be included in all copies or |
kishino | 39:a1233ca02edf | 11 | * substantial portions of the Software. |
kishino | 25:67183ed15708 | 12 | * |
kishino | 39:a1233ca02edf | 13 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING |
kishino | 39:a1233ca02edf | 14 | * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
kishino | 39:a1233ca02edf | 15 | * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, |
kishino | 39:a1233ca02edf | 16 | * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
kishino | 39:a1233ca02edf | 17 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
kishino | 39:a1233ca02edf | 18 | */ |
kishino | 25:67183ed15708 | 19 | #ifndef _MURATA_OBJECT_H_ |
kishino | 25:67183ed15708 | 20 | #define _MURATA_OBJECT_H_ |
kishino | 25:67183ed15708 | 21 | #include "mbed.h" |
kishino | 25:67183ed15708 | 22 | |
kishino | 40:b6b10c22a121 | 23 | //#define _DEBUG /* If this definition is enabled, debug log is output. */ |
kishino | 40:b6b10c22a121 | 24 | |
kishino | 40:b6b10c22a121 | 25 | #ifdef _DEBUG |
kishino | 40:b6b10c22a121 | 26 | #define DEBUG_PRINT(...) { pc.printf(__VA_ARGS__);} |
kishino | 40:b6b10c22a121 | 27 | #else |
kishino | 40:b6b10c22a121 | 28 | #define DEBUG_PRINT(...) |
kishino | 40:b6b10c22a121 | 29 | #endif |
kishino | 40:b6b10c22a121 | 30 | |
kishino | 25:67183ed15708 | 31 | class C_MurataObject{ |
kishino | 25:67183ed15708 | 32 | |
kishino | 26:f2e1030964e4 | 33 | }; |
kishino | 25:67183ed15708 | 34 | |
kishino | 25:67183ed15708 | 35 | #endif |