Merge pull request #1331 from Guilhem7/master
[RRG-proxmark3.git] / armsrc / legicrf.h
blob687accbebbfa6d11715b9b9018c20cd1dd4bfa41
1 //-----------------------------------------------------------------------------
2 // (c) 2009 Henryk Plötz <henryk@ploetzli.ch>
3 // 2018 AntiCat
4 // 2020 iceman
5 //
6 // This code is licensed to you under the terms of the GNU GPL, version 2 or,
7 // at your option, any later version. See the LICENSE.txt file for the text of
8 // the license.
9 //-----------------------------------------------------------------------------
10 // LEGIC RF emulation public interface
11 //-----------------------------------------------------------------------------
13 #ifndef __LEGICRF_H
14 #define __LEGICRF_H
16 #include "common.h"
17 #include "legic.h" /* legic_card_select_t struct */
19 void LegicRfInfo(void);
20 int LegicRfReaderEx(uint16_t offset, uint16_t len, uint8_t iv);
21 void LegicRfReader(uint16_t offset, uint16_t len, uint8_t iv);
22 void LegicRfWriter(uint16_t offset, uint16_t len, uint8_t iv, uint8_t *data);
24 legic_card_select_t *getLegicCardInfo(void);
25 #endif /* __LEGICRF_H */