//-----------------------------------------------------------------------------
// Copyright (C) 2012 Chalk <chalk.secu at gmail.com>
//               2015 Dake <thomas.cayrou at gmail.com>

// 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__

#include "common.h"

struct pcf7931_config {
    uint8_t Pwd[7];
    uint16_t InitDelay;
    int16_t OffsetWidth;
    int16_t OffsetPosition;
};

int pcf7931_resetConfig(void);
int pcf7931_printConfig(void);

int CmdLFPCF7931(const char *Cmd);

#endif