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:
parent
35280abfed
commit
a12cf4ae59
2 changed files with 63 additions and 77 deletions
|
@ -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[];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue