mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-23 19:23:09 +00:00
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;
|