You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
#pragma once
#include <stdint.h>
#include <functional>
#include "basic_type.hpp"
//
namespace iflytop { using namespace std; class I_EEPROMModule { public: #pragma pack(1)
typedef struct { s32 connected; } eeprom_status_t;
#pragma pack()
public: virtual int32_t start_monitor_status(function<void(eeprom_status_t& status)> cb) = 0; virtual int32_t stop_monitor_status() = 0; virtual int32_t read(u16 sector_index, u16 sector_size, zcancmder_read_ram_ack_t& ack) = 0;
virtual ~I_EEPROMModule() {} }; } // namespace iflytop
|