SADSD
Dependencies: DigiLogger
Fork of XBeeLib_vs by
IO.h
00001 /** 00002 * Copyright (c) 2015 Digi International Inc., 00003 * All rights not expressly granted are reserved. 00004 * 00005 * This Source Code Form is subject to the terms of the Mozilla Public 00006 * License, v. 2.0. If a copy of the MPL was not distributed with this file, 00007 * You can obtain one at http://mozilla.org/MPL/2.0/. 00008 * 00009 * Digi International Inc. 11001 Bren Road East, Minnetonka, MN 55343 00010 * ======================================================================= 00011 */ 00012 00013 #ifndef __IO_H_ 00014 #define __IO_H_ 00015 00016 #define DR_PWM_MAX_VAL 0x3FF 00017 00018 namespace XBeeLib { 00019 00020 /** 00021 * @defgroup IoMode 00022 * @{ 00023 */ 00024 /** 00025 * IoMode 00026 */ 00027 enum IoMode { 00028 Disabled = 0, /**< Disabled */ 00029 SpecialFunc = 1, /**< Special Function */ 00030 Adc = 2, /**< Adc */ 00031 Pwm = 2, /**< Pwm */ 00032 DigitalInput = 3, /**< Digital Input */ 00033 DigitalOutLow = 4, /**< Digital Out Low */ 00034 DigitalOutHigh = 5, /**< Digital Out High */ 00035 }; 00036 /** 00037 * @} 00038 */ 00039 00040 /** 00041 * @defgroup DioVal 00042 * @{ 00043 */ 00044 /** 00045 * DioVal 00046 */ 00047 enum DioVal { 00048 Low = 0, /**< Low Value */ 00049 High = 1, /**< High Value */ 00050 }; 00051 /** 00052 * @} 00053 */ 00054 00055 } /* namespace XBeeLib */ 00056 00057 00058 #endif /* __IO_H_ */
Generated on Tue Jul 12 2022 20:10:43 by 1.7.2