SNICInterface for ThingPlug Example
Dependents: ThingPlug_WiFi_Example ThingPlug_WiFi_Example_2
Fork of SNICInterface by
SNIC/MurataObject.h@42:17d89443d899, 2014-09-19 (annotated)
- Committer:
- kishino
- Date:
- Fri Sep 19 01:46:17 2014 +0000
- Revision:
- 42:17d89443d899
- Parent:
- 41:1c1b5ad4d491
- Child:
- 43:d80bbb12ffe6
It was supported to the FRDM-KL46Z platform.
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 | 41:1c1b5ad4d491 | 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 | 42:17d89443d899 | 26 | extern Serial pc; |
kishino | 40:b6b10c22a121 | 27 | #define DEBUG_PRINT(...) { pc.printf(__VA_ARGS__);} |
kishino | 40:b6b10c22a121 | 28 | #else |
kishino | 40:b6b10c22a121 | 29 | #define DEBUG_PRINT(...) |
kishino | 40:b6b10c22a121 | 30 | #endif |
kishino | 40:b6b10c22a121 | 31 | |
kishino | 25:67183ed15708 | 32 | class C_MurataObject{ |
kishino | 25:67183ed15708 | 33 | |
kishino | 26:f2e1030964e4 | 34 | }; |
kishino | 25:67183ed15708 | 35 | |
kishino | 25:67183ed15708 | 36 | #endif |