mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-11-11 01:55:38 +08:00
fabef615ec
CHG: TIMER, it turns out the TC0, TC1 and TC2 is only 16bit. So adjust to use two clocks to get a 32bit timer. CHG: code clean up in legic device side. consistency with variable names..
27 lines
844 B
C
27 lines
844 B
C
//-----------------------------------------------------------------------------
|
|
// (c) 2016 Iceman
|
|
//
|
|
// This code is licensed to you under the terms of the GNU GPL, version 2 or,
|
|
// at your option, any later version. See the LICENSE.txt file for the text of
|
|
// the license.
|
|
//-----------------------------------------------------------------------------
|
|
// LEGIC type prototyping
|
|
//-----------------------------------------------------------------------------
|
|
|
|
#ifndef _LEGIC_H_
|
|
#define _LEGIC_H_
|
|
|
|
#include "common.h"
|
|
|
|
//-----------------------------------------------------------------------------
|
|
// LEGIC
|
|
//-----------------------------------------------------------------------------
|
|
typedef struct {
|
|
uint8_t uid[4];
|
|
uint32_t tagtype;
|
|
uint8_t cmdsize;
|
|
uint8_t addrsize;
|
|
uint16_t cardsize;
|
|
} legic_card_select_t;
|
|
|
|
#endif // _LEGIC_H_
|