aboutsummaryrefslogtreecommitdiff
path: root/hwdef-Ferrero_Rocher.h
diff options
context:
space:
mode:
Diffstat (limited to 'hwdef-Ferrero_Rocher.h')
-rw-r--r--hwdef-Ferrero_Rocher.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/hwdef-Ferrero_Rocher.h b/hwdef-Ferrero_Rocher.h
new file mode 100644
index 0000000..a46f19d
--- /dev/null
+++ b/hwdef-Ferrero_Rocher.h
@@ -0,0 +1,11 @@
+/* Ferrero Rocher driver layout
+ * ----
+ * Reset -|1 8|- VCC
+ * E-switch -|2 7|- Voltage ADC
+ * Red LED -|3 6|- PWM
+ * GND -|4 5|- Green LED
+ * ----
+ */
+// TODO: fill in this section, update Ferrero_Rocher code to use it.
+#define FAST 0x23 // fast PWM channel 1 only
+#define PHASE 0x21 // phase-correct PWM channel 1 only