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 "sdk\components\zprotocols\zcancmder_v2\api\errorcode.hpp"
namespace iflytop { using namespace std;
typedef enum { kp24c16, km24lrxxe, } eeprom_type_t;
class ZI_EEPROM { public: virtual ~ZI_EEPROM() {}
public: /**
* @brief * * @param add 4byte���� * @param val * @param len 4�ı��� * @return int32_t */ virtual int32_t write(int32_t add, uint8_t* val, int32_t *len) = 0; virtual int32_t read(int32_t add, uint8_t* val, int32_t *len) = 0;
virtual bool isOnline() = 0; }; } // namespace iflytop
|