]> cvs.zerfleddert.de Git - proxmark3-svn/blame - client/cmdlfpcf7931.h
FIX: Coverity scan, remove a resource leak, wrong varible type.
[proxmark3-svn] / client / cmdlfpcf7931.h
CommitLineData
f5fca2ed 1//-----------------------------------------------------------------------------
2// Copyright (C) 2012 Chalk <chalk.secu at gmail.com>
e98572a1 3// 2015 Dake <thomas.cayrou at gmail.com>
4
f5fca2ed 5// This code is licensed to you under the terms of the GNU GPL, version 2 or,
6// at your option, any later version. See the LICENSE.txt file for the text of
7// the license.
8//-----------------------------------------------------------------------------
9// Low frequency PCF7931 commands
10//-----------------------------------------------------------------------------
11
12#ifndef CMDLFPCF7931_H__
13#define CMDLFPCF7931_H__
14
e98572a1 15struct pcf7931_config{
2285d9dd 16 uint8_t Pwd[7];
17 uint16_t InitDelay;
ba52aac4 18 int16_t OffsetWidth;
19 int16_t OffsetPosition;
e98572a1 20};
21
ba52aac4 22int pcf7931_resetConfig();
23int pcf7931_printConfig();
24
25int usage_pcf7931_read();
26int usage_pcf7931_write();
27int usage_pcf7931_config();
28
f5fca2ed 29int CmdLFPCF7931(const char *Cmd);
30
31int CmdLFPCF7931Read(const char *Cmd);
e98572a1 32int CmdLFPCF7931Write(const char *Cmd);
e98572a1 33int CmdLFPCF7931Config(const char *Cmd);
34
f5fca2ed 35#endif
Impressum, Datenschutz