forked from Archive/PX4-Autopilot
fmu-v5 timer_config: timer io channels for FMU_CH7/8
This commit is contained in:
parent
a4d8bf56cc
commit
a00441ecf4
|
@ -154,6 +154,22 @@ __EXPORT const timer_io_channels_t timer_io_channels[MAX_TIMER_IO_CHANNELS] = {
|
|||
.timer_channel = 3,
|
||||
.ccr_offset = STM32_GTIM_CCR3_OFFSET,
|
||||
.masks = GTIM_SR_CC3IF | GTIM_SR_CC3OF
|
||||
},
|
||||
{
|
||||
.gpio_out = GPIO_TIM12_CH1OUT,
|
||||
.gpio_in = GPIO_TIM12_CH1IN,
|
||||
.timer_index = 2,
|
||||
.timer_channel = 1,
|
||||
.ccr_offset = STM32_GTIM_CCR1_OFFSET, // TODO: need revision
|
||||
.masks = GTIM_SR_CC1IF | GTIM_SR_CC1OF // TODO: need revision
|
||||
},
|
||||
{
|
||||
.gpio_out = GPIO_TIM12_CH2OUT,
|
||||
.gpio_in = GPIO_TIM12_CH2IN,
|
||||
.timer_index = 2,
|
||||
.timer_channel = 2,
|
||||
.ccr_offset = STM32_GTIM_CCR2_OFFSET, // TODO: need revision
|
||||
.masks = GTIM_SR_CC2IF | GTIM_SR_CC2OF // TODO: need revision
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue