From 49ce3e9a2eb4e1918773b80c355d720a3dadc7e0 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Thu, 11 Apr 2019 23:54:37 -0700 Subject: altos: Work on MAX6691 driver --- src/stm/stm32l.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/stm') 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 -- cgit v1.2.3