summaryrefslogtreecommitdiffstats
path: root/fpm.h
diff options
context:
space:
mode:
authorSadeep Madurange <sadeep@asciimx.com>2025-05-03 16:08:59 +0800
committerSadeep Madurange <sadeep@asciimx.com>2025-05-03 19:22:58 +0800
commitd04b071a2bdfb1ed87c750416aab4424202353af (patch)
treec1a4c2f2c16a48069f25207c4b78079304882831 /fpm.h
parent39d8adcc1e7ee0957820df179bc7b6319b37ec9a (diff)
downloadavr-fpm-drivers-d04b071a2bdfb1ed87c750416aab4424202353af.tar.gz
Enroll fingerprints.
Diffstat (limited to 'fpm.h')
-rw-r--r--fpm.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/fpm.h b/fpm.h
index 8fae397..b3fcd91 100644
--- a/fpm.h
+++ b/fpm.h
@@ -3,7 +3,7 @@
#include <stdint.h>
-struct fpm_config {
+struct fpm_cfg {
uint16_t status;
uint16_t sysid;
uint16_t cap;
@@ -15,10 +15,14 @@ struct fpm_config {
uint8_t fpm_init(void);
-uint8_t fpm_getcfg(struct fpm_config *cfg);
+uint8_t fpm_getcfg(struct fpm_cfg *cfg);
uint8_t fpm_setpwd(uint32_t pwd);
uint16_t fpm_getcount(void);
+uint8_t fpm_enroll(void);
+
+uint8_t fpm_match(void);
+
#endif /* FPM_H */