2013-01-19 05:31:35 +08:00
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// Copyright (C) 2012 Chalk <chalk.secu at gmail.com>
|
2015-10-08 05:00:46 +08:00
|
|
|
// 2015 Dake <thomas.cayrou at gmail.com>
|
|
|
|
|
2013-01-19 05:31:35 +08:00
|
|
|
// 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.
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// Low frequency PCF7931 commands
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
#ifndef CMDLFPCF7931_H__
|
|
|
|
#define CMDLFPCF7931_H__
|
|
|
|
|
2015-10-08 05:00:46 +08:00
|
|
|
struct pcf7931_config{
|
|
|
|
uint8_t password[7];
|
|
|
|
uint16_t init_delay;
|
|
|
|
int16_t offset[2];
|
|
|
|
};
|
|
|
|
|
2013-01-19 05:31:35 +08:00
|
|
|
int CmdLFPCF7931(const char *Cmd);
|
|
|
|
|
|
|
|
int CmdLFPCF7931Read(const char *Cmd);
|
|
|
|
|
2015-10-08 05:00:46 +08:00
|
|
|
int CmdLFPCF7931Write(const char *Cmd);
|
|
|
|
|
|
|
|
int CmdLFPCF7931Config(const char *Cmd);
|
|
|
|
|
2013-01-19 05:31:35 +08:00
|
|
|
#endif
|