mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-30 08:20:21 +00:00
0917494a80
* Separate ibutton to its own module, add one_wire to f18 * Move onewire cli to a separate app Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
21 lines
400 B
C
21 lines
400 B
C
#pragma once
|
|
|
|
#include <stdint.h>
|
|
#include <stddef.h>
|
|
|
|
typedef int32_t iButtonProtocolId;
|
|
|
|
enum {
|
|
iButtonProtocolIdInvalid = -1,
|
|
};
|
|
|
|
typedef enum {
|
|
iButtonProtocolFeatureExtData = (1U << 0),
|
|
iButtonProtocolFeatureWriteBlank = (1U << 1),
|
|
iButtonProtocolFeatureWriteCopy = (1U << 2),
|
|
} iButtonProtocolFeature;
|
|
|
|
typedef struct {
|
|
uint8_t* ptr;
|
|
size_t size;
|
|
} iButtonEditableData;
|