Updates to STM32F7 HAL, for completeness (#11770)

This commit is contained in:
Sam Lane authored and Scott Lahteine committed 2018-09-09 03:26:15 -05:00
1 parent 72af8e0f02
commit d783400330
6 files changed
+15 -14

No files matched your search

@@ -148,4 +148,9 @@ void HAL_timer_isr_prologue(const uint8_t timer_num) {
}
}
bool HAL_timer_interrupt_enabled(const uint8_t timer_num) {
const uint32_t IRQ_Id = uint32_t(timerConfig[timer_num].IRQ_Id);
return NVIC->ISER[IRQ_Id >> 5] & _BV32(IRQ_Id & 0x1F);
}
#endif // STM32F7