summaryrefslogtreecommitdiff
path: root/src/stm/stm32l.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2019-04-11 23:54:37 -0700
committerKeith Packard <keithp@keithp.com>2019-04-21 16:54:54 -0700
commit49ce3e9a2eb4e1918773b80c355d720a3dadc7e0 (patch)
tree0ba55763fee8107a30458719a057bc9ac88d2a12 /src/stm/stm32l.h
parent0e8970c7f4eb7e8dd4ef325e4db4fe7412d0ed78 (diff)
altos: Work on MAX6691 driver
Diffstat (limited to 'src/stm/stm32l.h')
-rw-r--r--src/stm/stm32l.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/stm/stm32l.h b/src/stm/stm32l.h
index 71955988..5741a846 100644
--- a/src/stm/stm32l.h
+++ b/src/stm/stm32l.h
@@ -1799,6 +1799,14 @@ extern struct stm_tim234 stm_tim2, stm_tim3, stm_tim4;
#define STM_TIM234_SMCR_SMS_EXTERNAL_CLOCK 7
#define STM_TIM234_SMCR_SMS_MASK 7
+#define STM_TIM234_DIER_TDE 14
+#define STM_TIM234_DIER_CC4DE 12
+#define STM_TIM234_DIER_CC3DE 11
+#define STM_TIM234_DIER_CC2DE 10
+#define STM_TIM234_DIER_CC1DE 9
+#define STM_TIM234_DIER_UDE 8
+
+#define STM_TIM234_DIER_TIE 6
#define STM_TIM234_DIER_CC4IE 4
#define STM_TIM234_DIER_CC3IE 3
#define STM_TIM234_DIER_CC2IE 2