WizFi310Interface

Fork of WizFi310Interface_Legacynew by Akshay Tom

Committer:
kandilidinesh
Date:
Thu Feb 01 09:06:27 2018 +0000
Revision:
4:90f222eee7f7
Parent:
0:774ff1e8b26b
No change

Who changed what in which revision?

UserRevisionLine numberNew contents of line
kaizen 0:774ff1e8b26b 1 /* Copyright (C) 2012 mbed.org, MIT License
kaizen 0:774ff1e8b26b 2 *
kaizen 0:774ff1e8b26b 3 * Permission is hereby granted, free of charge, to any person obtaining a copy of this software
kaizen 0:774ff1e8b26b 4 * and associated documentation files (the "Software"), to deal in the Software without restriction,
kaizen 0:774ff1e8b26b 5 * including without limitation the rights to use, copy, modify, merge, publish, distribute,
kaizen 0:774ff1e8b26b 6 * sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
kaizen 0:774ff1e8b26b 7 * furnished to do so, subject to the following conditions:
kaizen 0:774ff1e8b26b 8 *
kaizen 0:774ff1e8b26b 9 * The above copyright notice and this permission notice shall be included in all copies or
kaizen 0:774ff1e8b26b 10 * substantial portions of the Software.
kaizen 0:774ff1e8b26b 11 *
kaizen 0:774ff1e8b26b 12 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
kaizen 0:774ff1e8b26b 13 * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
kaizen 0:774ff1e8b26b 14 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
kaizen 0:774ff1e8b26b 15 * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
kaizen 0:774ff1e8b26b 16 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
kaizen 0:774ff1e8b26b 17 */
kaizen 0:774ff1e8b26b 18
kaizen 0:774ff1e8b26b 19 #ifndef DEF_H
kaizen 0:774ff1e8b26b 20 #define DEF_H
kaizen 0:774ff1e8b26b 21
kaizen 0:774ff1e8b26b 22 #include "cmsis.h"
kaizen 0:774ff1e8b26b 23 #define htons(x) __REV16(x)
kaizen 0:774ff1e8b26b 24 #define ntohs(x) __REV16(x)
kaizen 0:774ff1e8b26b 25 #define htonl(x) __REV(x)
kaizen 0:774ff1e8b26b 26 #define ntohl(x) __REV(x)
kaizen 0:774ff1e8b26b 27
kaizen 0:774ff1e8b26b 28 #endif