KETCube
|
This file contains the KETCube module management. More...
#include "ketCube_cfg.h"
#include "ketCube_eeprom.h"
#include "ketCube_common.h"
#include "ketCube_modules.h"
#include "ketCube_terminal.h"
#include "ketCube_resetMan.h"
#include "../../Projects/src/ketCube_moduleList.c"
Functions | |
ketCube_cfg_Error_t | ketCube_modules_Init (void) |
Load basic module configuration data from EEPROM and execute periodic functions for enabled modules. More... | |
ketCube_cfg_Error_t | ketCube_modules_ExecutePeriodic (void) |
Execute periodic functions for enabled modules. More... | |
ketCube_cfg_Error_t | ketCube_modules_ProcessMsgs (void) |
Process Intra module messages. More... | |
ketCube_cfg_Error_t | ketCube_modules_SleepEnter (void) |
Process modules sleepEnter functions. More... | |
ketCube_cfg_Error_t | ketCube_modules_SleepExit (void) |
Process modules sleepExit functions. More... | |
Variables | |
uint8_t | SensorBuffer [KETCUBE_MODULES_SENSOR_BYTES] |
Sensor data are stored here. More... | |
uint8_t | SensorBufferSize = 0 |
Sensor data buffer size. More... | |
ketCube_InterModMsg_t ** | InterModMsgBuffer [ketCube_modules_CNT] |
Intra module message pointers; mesasages are stored and managed local-to modules. More... | |
This file contains the KETCube module management.
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.
ketCube_InterModMsg_t** InterModMsgBuffer[ketCube_modules_CNT] |
Intra module message pointers; mesasages are stored and managed local-to modules.
uint8_t SensorBuffer[KETCUBE_MODULES_SENSOR_BYTES] |
Sensor data are stored here.
uint8_t SensorBufferSize = 0 |
Sensor data buffer size.