Files
libicsneo/include/icsneo/device/tree/radmoon2/radmoon2settings.h
T
Paul Hollinsky c48efe8e5b Add Gigalog, Gigastar, Moon 2, Moon Duo, and Supermoon
The USB drivers for these devices are currently stubbed, it will find them
but not connect.

The Ethernet drivers work though, where applicable.
2020-09-14 11:57:01 -04:00

46 lines
846 B
C++

#ifndef __RADMOON2SETTINGS_H_
#define __RADMOON2SETTINGS_H_
#include <stdint.h>
#include "icsneo/device/idevicesettings.h"
#ifdef __cplusplus
namespace icsneo {
#endif // __cplusplus
#pragma pack(push, 2)
typedef struct {
uint16_t perf_en;
OP_ETH_GENERAL_SETTINGS opEthGen;
OP_ETH_SETTINGS opEth1;
uint16_t network_enables;
uint16_t network_enables_2;
uint16_t network_enabled_on_boot;
uint16_t network_enables_3;
STextAPISettings text_api;
uint16_t pc_com_mode;
TIMESYNC_ICSHARDWARE_SETTINGS timeSyncSettings;
uint16_t hwComLatencyTestEn;
} radmoon2_settings_t;
#pragma pack(pop)
#ifdef __cplusplus
#include <iostream>
class RADMoon2Settings : public IDeviceSettings {
public:
RADMoon2Settings(std::shared_ptr<Communication> com) : IDeviceSettings(com, sizeof(radmoon2_settings_t)) {}
};
}
#endif // __cplusplus
#endif