#define PASTPARS_SAVE_ENTRIES_MASK ((PARS_FRAMES << 7)-1) ///< Mask for save entry numbers 0x7ff
#define PASTPARS_SAVE_ENTRIES_MASK ((PARS_FRAMES << 7)-1) ///< Mask for save entry numbers 0x7ff
/** @brief Parameters block, maintained for each frame (0..15 in 393) of each sensor channel
/** Parameters block, maintained for each frame (0..15 in NC393) of each sensor channel */
*/
structframepars_t{
structframepars_t{
unsignedlongpars[927];///< parameter values (indexed by P_* constants)
unsignedlongpars[927];///< parameter values (indexed by P_* constants)
unsignedlongfunctions;///< each bit specifies function to be executed (triggered by some parameters change)
unsignedlongfunctions;///< each bit specifies function to be executed (triggered by some parameters change)
...
@@ -914,10 +913,13 @@ struct framepars_t {
...
@@ -914,10 +913,13 @@ struct framepars_t {
unsignedlongmodsince32;///< parameters modified after this frame super index - non-zero elements in in mod[31] (bit 31 is not used)
unsignedlongmodsince32;///< parameters modified after this frame super index - non-zero elements in in mod[31] (bit 31 is not used)
unsignedlongmod[31];///< modified parameters - each bit corresponds to one element in in par[960] (bit 31 is not used)
unsignedlongmod[31];///< modified parameters - each bit corresponds to one element in in par[960] (bit 31 is not used)
unsignedlongmod32;///< super index - non-zero elements in in mod[31] (bit 31 is not used)
unsignedlongmod32;///< super index - non-zero elements in in mod[31] (bit 31 is not used)
unsignedlongneedproc[31];///< FIXME: REMOVE parameters "modified and not yet processed" (some do not need any processing)
unsignedlongneedproc32;///< FIXME: REMOVE parameters "modified and not yet processed" frame super index - non-zero elements in in mod[31] (bit 31 is not used)
};
};
// unsigned long needproc[31]; ///< FIXME: REMOVE parameters "modified and not yet processed" (some do not need any processing)
// unsigned long needproc32; ///< FIXME: REMOVE parameters "modified and not yet processed" frame super index - non-zero elements in in mod[31] (bit 31 is not used)
//TODO: rearrange onchage_* - functions will be executed in this sequence (from 0 to 31)
//TODO: rearrange onchage_* - functions will be executed in this sequence (from 0 to 31)
// pgm_memcompressor uses pgm_memsensor
// pgm_memcompressor uses pgm_memsensor
// pgm_compctl,pgm_comprestart use pgm_memcompressor
// pgm_compctl,pgm_comprestart use pgm_memcompressor