]>
cvs.zerfleddert.de Git - proxmark3-svn/blob - armsrc/util.h
0af673cc14eacd6b1531eb01917e7cc2c32d3c97
12 #define BUTTON_NO_CLICK 0
13 #define BUTTON_SINGLE_CLICK -1
14 #define BUTTON_DOUBLE_CLICK -2
15 #define BUTTON_ERROR -99
17 void num_to_bytes(uint64_t n
, size_t len
, uint8_t* dest
);
18 uint64_t bytes_to_num(uint8_t* src
, size_t len
);
20 void SpinDelay(int ms
);
21 void SpinDelayUs(int us
);
22 void LED(int led
, int ms
);
24 int BUTTON_CLICKED(int ms
);
25 int BUTTON_HELD(int ms
);
26 void FormatVersionInformation(char *dst
, int len
, const char *prefix
, void *version_information
);