KETCube
Data Fields
ketCube_coreCfg_t Struct Reference

KETCube core configuration. More...

#include <ketCube_coreCfg.h>

Data Fields

ketCube_cfg_ModuleCfgByte_t coreCfg
 KETCube core cfg byte. More...
 
uint32_t basePeriod
 This period is used by KETCube core to run periodic events. More...
 
uint32_t startDelay
 This delay is used instead ketCube_coreCfg_BasePeriod to run periodic events at the first time. More...
 
uint32_t repeatDelay
 In case of error during the periodic action, the periodic action is repeated after this delay; if 0, it is not applicable. More...
 
ketCube_severity_t severity
 Core messages severity. More...
 
ketCube_severity_t driverSeverity
 Driver(s) messages severity. More...
 
uint16_t remoteTerminalCounter
 Is currently in remote terminal mode (value > 0)? If so, how many basePeriods to reload? More...
 
union {
   uint16_t   moduleSendErrorCnt
 Module periodic-send function error counter. More...
 
   uint16_t   modulePerErrorCnt
 Module periodic-get function error counter. More...
 
   ketCube_resetMan_t   resetInfo
 Reset Reasoning. More...
 
   uint8_t   RFU [111]
 This part of EEPROM is RFU, when adding new field into coreCfg, decrease the size of this field to preserve configuration padding for module(s) configuration; 128B is reserved for CORE in total. More...
 
volatileData
 This union should aggregate volatile data, whose require no fixed location over KETCube releases. More...
 

Detailed Description

KETCube core configuration.

Note
128B is reserved for CORE configuration in EEPROM - decrease RFU when adding new fields to the non-volatile part of the scructure - see the summary size of the fields and RFU

Field Documentation

◆ basePeriod

uint32_t ketCube_coreCfg_t::basePeriod

This period is used by KETCube core to run periodic events.

◆ coreCfg

ketCube_cfg_ModuleCfgByte_t ketCube_coreCfg_t::coreCfg

KETCube core cfg byte.

◆ driverSeverity

ketCube_severity_t ketCube_coreCfg_t::driverSeverity

Driver(s) messages severity.

◆ modulePerErrorCnt

uint16_t ketCube_coreCfg_t::modulePerErrorCnt

Module periodic-get function error counter.

◆ moduleSendErrorCnt

uint16_t ketCube_coreCfg_t::moduleSendErrorCnt

Module periodic-send function error counter.

◆ remoteTerminalCounter

uint16_t ketCube_coreCfg_t::remoteTerminalCounter

Is currently in remote terminal mode (value > 0)? If so, how many basePeriods to reload?

◆ repeatDelay

uint32_t ketCube_coreCfg_t::repeatDelay

In case of error during the periodic action, the periodic action is repeated after this delay; if 0, it is not applicable.

◆ resetInfo

ketCube_resetMan_t ketCube_coreCfg_t::resetInfo

Reset Reasoning.

◆ RFU

uint8_t ketCube_coreCfg_t::RFU[111]

This part of EEPROM is RFU, when adding new field into coreCfg, decrease the size of this field to preserve configuration padding for module(s) configuration; 128B is reserved for CORE in total.

◆ severity

ketCube_severity_t ketCube_coreCfg_t::severity

Core messages severity.

◆ startDelay

uint32_t ketCube_coreCfg_t::startDelay

This delay is used instead ketCube_coreCfg_BasePeriod to run periodic events at the first time.

◆ volatileData

union { ... } ketCube_coreCfg_t::volatileData

This union should aggregate volatile data, whose require no fixed location over KETCube releases.


The documentation for this struct was generated from the following file: