use demodbufflen variable to remove the demod plot line instead
[RRG-proxmark3.git] / armsrc / em4x70.h
blob5bb1a2a3768660dc340ebc7a7415afb945ca3cab
1 //-----------------------------------------------------------------------------
2 // Copyright (C) 2020 sirloins
3 //
4 // This code is licensed to you under the terms of the GNU GPL, version 2 or,
5 // at your option, any later version. See the LICENSE.txt file for the text of
6 // the license.
7 //-----------------------------------------------------------------------------
8 // Low frequency EM4x70 commands
9 //-----------------------------------------------------------------------------
11 #ifndef EM4x70_H
12 #define EM4x70_H
14 #include "../include/em4x70.h"
16 typedef struct {
17 uint8_t data[32];
18 } em4x70_tag_t;
20 typedef enum {
21 RISING_EDGE,
22 FALLING_EDGE
23 } edge_detection_t;
25 void em4x70_info(em4x70_data_t *etd);
26 void em4x70_write(em4x70_data_t *etd);
27 void em4x70_unlock(em4x70_data_t *etd);
28 void em4x70_auth(em4x70_data_t *etd);
29 void em4x70_write_pin(em4x70_data_t *etd);
30 void em4x70_write_key(em4x70_data_t *etd);
32 #endif /* EM4x70_H */