KETCube
Macros | Variables
ketCube_hdcX080_cmd.c File Reference

The command definitions for HDC X080 (1080 and 2080) RH+T sensors. More...

#include "ketCube_cfg.h"
#include "ketCube_common.h"
#include "ketCube_terminal.h"
#include "ketCube_hdcX080.h"

Macros

#define __KETCUBE_HDCX080_CMD_H
 

Variables

ketCube_terminal_cmd_t ketCube_hdcX080_commands []
 Terminal command definitions. More...
 

Detailed Description

The command definitions for HDC X080 (1080 and 2080) RH+T sensors.

Author
Jan Belohoubek
Version
0.2
Date
2020-05-28
Attention

© Copyright (c) 2018 - 2020 University of West Bohemia in Pilsen All rights reserved.

Developed by: The SmartCampus Team Department of Technologies and Measurement www.smartcampus.cz | www.zcu.cz

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal with the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE.

Macro Definition Documentation

◆ __KETCUBE_HDCX080_CMD_H

#define __KETCUBE_HDCX080_CMD_H

Variable Documentation

◆ ketCube_hdcX080_commands

ketCube_terminal_cmd_t ketCube_hdcX080_commands[]
Initial value:
= {
{
.cmd = "type",
.descr = "Select sensor type (0: auto-detect; 1: HDC1080; 2: HDC2080)",
.flags = {
.isLocal = TRUE,
.isRemote = TRUE,
.isEEPROM = TRUE,
.isRAM = TRUE,
.isShowCmd = TRUE,
.isSetCmd = TRUE,
.isGeneric = TRUE,
},
.outputSetType = KETCUBE_TERMINAL_PARAMS_BYTE,
.settingsPtr.cfgVarPtr = &(ketCube_cfg_varDescr_t) {
.moduleID = KETCUBE_LISTS_MODULEID_HDCX080,
.offset = offsetof(ketCube_hdcX080_moduleCfg_t, sensType),
}
},
}

Terminal command definitions.

ketCube_cfg_varDescr_t
struct ketCube_cfg_varDescr_t ketCube_cfg_varDescr_t
KETCube configuration variable descriptor.
TRUE
#define TRUE
boolean TRUE
Definition: ketCube_common.h:69
ketCube_hdcX080_moduleCfg_t
KETCube module configuration.
Definition: ketCube_hdcX080.h:82
ketCube_hdcX080_sensType_t
ketCube_hdcX080_sensType_t
List of sensors supported by this driver.
Definition: ketCube_hdcX080.h:73
KETCUBE_TERMINAL_PARAMS_BYTE
@ KETCUBE_TERMINAL_PARAMS_BYTE
Definition: ketCube_terminal_common.h:152