phase_data.h 590 B

12345678910111213141516171819202122
  1. /**
  2. * @file phase_data.h
  3. * @brief Definition of the phase data structure used for tracking measurement state and series.
  4. * @author Matus Necas
  5. * @date 2026
  6. */
  7. #ifndef _PHASE_DATA_H_
  8. #define _PHASE_DATA_H_
  9. #include "config/master_config.h"
  10. /**
  11. * @brief Structure holding information about the current measurement phase and series number.
  12. */
  13. typedef struct
  14. {
  15. int8_t series_num{0}; ///< Current series number (initialized to 0).
  16. app_phase_t phase_num{IDLE_PH}; ///< Current application phase/state (initialized to IDLE_PH).
  17. } phase_data_t;
  18. #endif // _PHASE_DATA_H_