3#include "../protocol_common_i.h"
10typedef bool (*iButtonProtocolDallasReadWriteFunc)(
OneWireHost*, iButtonProtocolData*);
11typedef void (*iButtonProtocolDallasEmulateFunc)(
OneWireSlave*, iButtonProtocolData*);
12typedef bool (*iButtonProtocolDallasSaveFunc)(
FlipperFormat*,
const iButtonProtocolData*);
13typedef bool (*iButtonProtocolDallasLoadFunc)(
FlipperFormat*, uint32_t, iButtonProtocolData*);
14typedef void (*iButtonProtocolDallasRenderDataFunc)(
FuriString*,
const iButtonProtocolData*);
15typedef bool (*iButtonProtocolDallasIsValidFunc)(
const iButtonProtocolData*);
18typedef void (*iButtonProtocolDallasApplyEditsFunc)(iButtonProtocolData*);
21 const uint8_t family_code;
22 const uint32_t features;
23 const size_t data_size;
24 const char* manufacturer;
27 iButtonProtocolDallasReadWriteFunc read;
28 iButtonProtocolDallasReadWriteFunc write_id;
29 iButtonProtocolDallasReadWriteFunc write_copy;
30 iButtonProtocolDallasEmulateFunc emulate;
31 iButtonProtocolDallasSaveFunc save;
32 iButtonProtocolDallasLoadFunc load;
33 iButtonProtocolDallasRenderDataFunc render_uid;
34 iButtonProtocolDallasRenderDataFunc render_data;
35 iButtonProtocolDallasRenderDataFunc render_brief_data;
36 iButtonProtocolDallasRenderDataFunc render_error;
37 iButtonProtocolDallasIsValidFunc is_valid;
38 iButtonProtocolDallasGetEditableDataFunc get_editable_data;
39 iButtonProtocolDallasApplyEditsFunc apply_edits;
1-Wire host (master) library
Definition one_wire_host.c:49
Definition one_wire_slave.c:31