]>
Commit | Line | Data |
---|---|---|
f5fca2ed | 1 | //----------------------------------------------------------------------------- |
2 | // Copyright (C) 2012 Chalk <chalk.secu at gmail.com> | |
dc4300ba D |
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 | ||
dc4300ba D |
15 | struct pcf7931_config{ |
16 | uint8_t password[7]; | |
17 | uint16_t init_delay; | |
18 | int16_t offset[2]; | |
19 | }; | |
20 | ||
f5fca2ed | 21 | int CmdLFPCF7931(const char *Cmd); |
22 | ||
23 | int CmdLFPCF7931Read(const char *Cmd); | |
24 | ||
dc4300ba D |
25 | int CmdLFPCF7931Write(const char *Cmd); |
26 | ||
27 | int CmdLFPCF7931Config(const char *Cmd); | |
28 | ||
f5fca2ed | 29 | #endif |