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

33 lines
776 B
C++
Raw Normal View History

/*
* HipMessageControl.h
*
* Created on: 4 <EFBFBD><EFBFBD><EFBFBD>. 2020 <EFBFBD>.
* 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_ */