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

33 lines
780 B
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.

/*
* HipMessageControl.h
*
* Created on: 4 мар. 2020 г.
* Author: user
*/
#ifndef UMLIBRARY_DRIVER_HIPMESSAGECONTROL_HH_
#define UMLIBRARY_DRIVER_HIPMESSAGECONTROL_HH_
#include "HipResult.hh"
#include <cstddef>
#include <stdint.h>
namespace driver {
struct MessageControl {
unsigned short address;
const unsigned short code;
const std::size_t send_data_size;
const unsigned char * const send_data;
const std::size_t rec_data_size;
unsigned char * const rec_data;
const unsigned long timeout_ms;
bool ans_ready_flag;
HipResult result;
};
}
#endif /* UMLIBRARY_DRIVER_HIPMESSAGECONTROL_HH_ */