1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-21 15:25:36 +03:00

[H7] Add pseudo peripheral TIMUP for TIMx_UP DMA management

This commit is contained in:
jflyper 2019-06-11 10:38:06 +09:00
parent 2a6e94d030
commit 8ceaed1072
8 changed files with 155 additions and 17 deletions

View file

@ -170,6 +170,7 @@ typedef enum {
#define HARDWARE_TIMER_DEFINITION_COUNT 14
#elif defined(STM32H7)
#define HARDWARE_TIMER_DEFINITION_COUNT 17
#define TIMUP_TIMERS ( BIT(1) | BIT(2) | BIT(3) | BIT(4) | BIT(5) | BIT(6) | BIT(7) | BIT(8) | BIT(15) | BIT(16) | BIT(17) )
#endif
#define MHZ_TO_HZ(x) ((x) * 1000000)
@ -178,6 +179,7 @@ typedef enum {
extern const timerHardware_t timerHardware[];
#endif
#if defined(USE_TIMER_MGMT)
#if defined(STM32F4)