1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-18 22:05:17 +03:00

STM32F3 - Add a GPIO alternate function configuration to timer mappings.

This commit is contained in:
Dominic Clifton 2014-09-26 01:23:10 +01:00
parent 35280abfed
commit a12cf4ae59
2 changed files with 63 additions and 77 deletions

View file

@ -46,6 +46,10 @@ typedef struct {
uint8_t irq;
uint8_t outputEnable;
GPIO_Mode gpioInputMode;
#ifdef STM32F303
uint8_t gpioPinSource;
uint8_t alternateFunction;
#endif
} timerHardware_t;
extern const timerHardware_t timerHardware[];