summaryrefslogtreecommitdiff
path: root/src/binwatch/avrconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/binwatch/avrconfig.h')
-rw-r--r--src/binwatch/avrconfig.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/binwatch/avrconfig.h b/src/binwatch/avrconfig.h
index a6e4fdb..539bedb 100644
--- a/src/binwatch/avrconfig.h
+++ b/src/binwatch/avrconfig.h
@@ -29,6 +29,12 @@
* 8000000, 11059200, 14745600, 16000000, 18432000, 20000000. */
#define AC_FREQ 1000000
+/* power */
+/** Initial clock divider, giving the AC_FREQ frequency. */
+#define AC_POWER_CLKPS_INITIAL 3
+/** Low speed clock divider to save battery. */
+#define AC_POWER_CLKPS_LOW 8
+
/* twi - TWI module. */
/** Driver to implement TWI: HARD, SOFT, or USI. */
#define AC_TWI_DRIVER SOFT