2013-01-19 05:31:35 +08:00
|
|
|
//-----------------------------------------------------------------------------
|
2022-01-07 08:58:03 +08:00
|
|
|
// Copyright (C) Proxmark3 contributors. See AUTHORS.md for details.
|
|
|
|
//
|
|
|
|
// This program is free software: you can redistribute it and/or modify
|
|
|
|
// it under the terms of the GNU General Public License as published by
|
|
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
|
|
// (at your option) any later version.
|
|
|
|
//
|
|
|
|
// This program is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
// GNU General Public License for more details.
|
|
|
|
//
|
|
|
|
// See LICENSE.txt for the text of the license.
|
2013-01-19 05:31:35 +08:00
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// Low frequency PCF7931 commands
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
#ifndef CMDLFPCF7931_H__
|
|
|
|
#define CMDLFPCF7931_H__
|
|
|
|
|
2019-08-08 22:57:33 +08:00
|
|
|
#include "common.h"
|
|
|
|
|
2019-03-10 07:00:59 +08:00
|
|
|
struct pcf7931_config {
|
2019-03-10 06:35:06 +08:00
|
|
|
uint8_t Pwd[7];
|
|
|
|
uint16_t InitDelay;
|
|
|
|
int16_t OffsetWidth;
|
|
|
|
int16_t OffsetPosition;
|
2015-10-08 05:00:46 +08:00
|
|
|
};
|
|
|
|
|
2019-04-10 04:42:23 +08:00
|
|
|
int pcf7931_resetConfig(void);
|
|
|
|
int pcf7931_printConfig(void);
|
2015-10-13 03:49:11 +08:00
|
|
|
|
2013-01-19 05:31:35 +08:00
|
|
|
int CmdLFPCF7931(const char *Cmd);
|
|
|
|
|
|
|
|
#endif
|