We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2406559 commit a371df6Copy full SHA for a371df6
src/modm/platform/timer/stm32/advanced.hpp.in
@@ -261,6 +261,18 @@ public:
261
return (TIM{{ id }}->BDTR & TIM_BDTR_MOE);
262
}
263
%% if target.family in ["g0"]
264
+ static inline void
265
+ enableBreak()
266
+ {
267
+ TIM{{ id }}->BDTR |= TIM_BDTR_BKE;
268
+ }
269
+
270
271
+ disableBreak()
272
273
+ TIM{{ id }}->BDTR &= ~(TIM_BDTR_BKE);
274
275
276
static inline void
277
enableBreakInput()
278
{
0 commit comments