MotorControlModuleSDFM_TMS3.../Projects/EFC_Communication/UMLibrary/configuration/ProcessConfig.hh
2024-06-07 11:12:56 +03:00

37 lines
865 B
C++
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
* ProcessConfig.h
*
* Created on: 15 июл. 2019 г.
* Author: titov
*/
#ifndef SOURCE_APPLICATION_PROCESSCONFIG_H_
#define SOURCE_APPLICATION_PROCESSCONFIG_H_
#include <stdint.h>
namespace configuration {
struct ProcessConfig {
/**
* @brief Идентификатор обработчика процессов, внутри которого будет обрабатываться текущий процесс
*/
uint16_t processor_id;
/**
* @brief Приоритет среди других процессов, зарегистрированных на тот же processor_id
*/
uint16_t priority;
/**
* @brief Делитель частоты опроса
*/
uint16_t period;
/**
* @brief Фаза
*/
uint16_t phase;
};
}
#endif /* SOURCE_APPLICATION_PROCESSCONFIG_H_ */