mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-25 14:22:27 +03: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>
22 lines
400 B
C
22 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;
|