MotorControlModuleSDFM_TMS3.../Projects/EFC_Communication/UMLibrary/application/tests/SciPeripheralTest.hh
2024-06-07 11:12:56 +03:00

61 lines
1.3 KiB
C++
Raw 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.

/*!\file
* \brief \todo Описание файла.
*/
/*
* SciPeripheralTest.h
*
* Created on: 17 июн. 2019 г.
* Author: titov
*/
#ifndef SOURCE_APPLICATION_TEST_SCIPERIPHERALTEST_H_
#define SOURCE_APPLICATION_TEST_SCIPERIPHERALTEST_H_
#include <application/ISetupStep.hh>
#include "../../peripheral/IUartPort.hh"
namespace application { namespace tests {
//struct SciPeripheralTest : public ISetupStep {
//
// peripheral::IUartPort * test_uart = nullptr;
//
// enum State {
// Send,
// WaitDataSent,
// Receive
// } state;
//
// struct Case {
// const char * data;
// std::size_t size;
// };
//
// static const std::size_t quantity_cases = 16;
// std::size_t step;
// std::size_t pass;
// Case cases[quantity_cases];
//
// static const std::size_t test_size = 64;
// char test_buff[test_size];
//
// bool input( Environment & env );
// bool prepare();
// void build( Environment & env );
//
// struct Links {
// uint16_t uart_id;
// };
//
// const Links & links;
//
// const configuration::ProcessConfig & proc;
//
// SciPeripheralTest( const Links & links, const configuration::ProcessConfig & proc );
//
//};
}}
#endif /* SOURCE_APPLICATION_TEST_SCIPERIPHERALTEST_H_ */