MotorControlModuleSDFM_TMS3.../Projects/EFC_Application/UMLibrary/driver/HipMessageControl.hh

33 lines
776 B
C++

/*
* 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_ */