Fork of my MQTTGateway

Dependencies:   mbed-http

Committer:
vpcola
Date:
Sat Apr 08 14:45:51 2017 +0000
Revision:
0:f1d3878b8dd9
Initial commit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
vpcola 0:f1d3878b8dd9 1 /**
vpcola 0:f1d3878b8dd9 2 * Copyright (c) 2015 Digi International Inc.,
vpcola 0:f1d3878b8dd9 3 * All rights not expressly granted are reserved.
vpcola 0:f1d3878b8dd9 4 *
vpcola 0:f1d3878b8dd9 5 * This Source Code Form is subject to the terms of the Mozilla Public
vpcola 0:f1d3878b8dd9 6 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
vpcola 0:f1d3878b8dd9 7 * You can obtain one at http://mozilla.org/MPL/2.0/.
vpcola 0:f1d3878b8dd9 8 *
vpcola 0:f1d3878b8dd9 9 * Digi International Inc. 11001 Bren Road East, Minnetonka, MN 55343
vpcola 0:f1d3878b8dd9 10 * =======================================================================
vpcola 0:f1d3878b8dd9 11 */
vpcola 0:f1d3878b8dd9 12
vpcola 0:f1d3878b8dd9 13 #ifndef __IO_H_
vpcola 0:f1d3878b8dd9 14 #define __IO_H_
vpcola 0:f1d3878b8dd9 15
vpcola 0:f1d3878b8dd9 16 #define DR_PWM_MAX_VAL 0x3FF
vpcola 0:f1d3878b8dd9 17
vpcola 0:f1d3878b8dd9 18 namespace XBeeLib {
vpcola 0:f1d3878b8dd9 19
vpcola 0:f1d3878b8dd9 20 /**
vpcola 0:f1d3878b8dd9 21 * @defgroup IoMode
vpcola 0:f1d3878b8dd9 22 * @{
vpcola 0:f1d3878b8dd9 23 */
vpcola 0:f1d3878b8dd9 24 /**
vpcola 0:f1d3878b8dd9 25 * IoMode
vpcola 0:f1d3878b8dd9 26 */
vpcola 0:f1d3878b8dd9 27 enum IoMode {
vpcola 0:f1d3878b8dd9 28 Disabled = 0, /**< Disabled */
vpcola 0:f1d3878b8dd9 29 SpecialFunc = 1, /**< Special Function */
vpcola 0:f1d3878b8dd9 30 Adc = 2, /**< Adc */
vpcola 0:f1d3878b8dd9 31 Pwm = 2, /**< Pwm */
vpcola 0:f1d3878b8dd9 32 DigitalInput = 3, /**< Digital Input */
vpcola 0:f1d3878b8dd9 33 DigitalOutLow = 4, /**< Digital Out Low */
vpcola 0:f1d3878b8dd9 34 DigitalOutHigh = 5, /**< Digital Out High */
vpcola 0:f1d3878b8dd9 35 };
vpcola 0:f1d3878b8dd9 36 /**
vpcola 0:f1d3878b8dd9 37 * @}
vpcola 0:f1d3878b8dd9 38 */
vpcola 0:f1d3878b8dd9 39
vpcola 0:f1d3878b8dd9 40 /**
vpcola 0:f1d3878b8dd9 41 * @defgroup DioVal
vpcola 0:f1d3878b8dd9 42 * @{
vpcola 0:f1d3878b8dd9 43 */
vpcola 0:f1d3878b8dd9 44 /**
vpcola 0:f1d3878b8dd9 45 * DioVal
vpcola 0:f1d3878b8dd9 46 */
vpcola 0:f1d3878b8dd9 47 enum DioVal {
vpcola 0:f1d3878b8dd9 48 Low = 0, /**< Low Value */
vpcola 0:f1d3878b8dd9 49 High = 1, /**< High Value */
vpcola 0:f1d3878b8dd9 50 };
vpcola 0:f1d3878b8dd9 51 /**
vpcola 0:f1d3878b8dd9 52 * @}
vpcola 0:f1d3878b8dd9 53 */
vpcola 0:f1d3878b8dd9 54
vpcola 0:f1d3878b8dd9 55 } /* namespace XBeeLib */
vpcola 0:f1d3878b8dd9 56
vpcola 0:f1d3878b8dd9 57
vpcola 0:f1d3878b8dd9 58 #endif /* __IO_H_ */