docs
This commit is contained in:
parent
2c7053fe29
commit
62e2a61b4f
|
@ -95,23 +95,23 @@ static uint32_t getAlternateFunctions(ICUDriver *driver) {
|
|||
icuchannel_t getInputCaptureChannel(brain_pin_e hwPin) {
|
||||
switch (hwPin) {
|
||||
case GPIOA_2: // TIM9
|
||||
case GPIOA_5:
|
||||
case GPIOA_6:
|
||||
case GPIOA_8:
|
||||
case GPIOA_5: // TIM2 stm32f4discovery/Frankenso default
|
||||
case GPIOA_6: // TIM3
|
||||
case GPIOA_8: // TIM1
|
||||
case GPIOA_15: // TIM2
|
||||
case GPIOC_6:
|
||||
case GPIOE_5:
|
||||
case GPIOC_6: // TIM3 or TIM8 stm32f4discovery/Frankenso default
|
||||
case GPIOE_5: // TIM9
|
||||
case GPIOE_9: // TIM1
|
||||
return ICU_CHANNEL_1;
|
||||
|
||||
case GPIOA_1: // TIM2
|
||||
case GPIOA_3: // TIM9
|
||||
case GPIOA_7:
|
||||
case GPIOA_7: // TIM3
|
||||
case GPIOA_9: // TIM1
|
||||
case GPIOB_3: // TIM2
|
||||
case GPIOB_5: // TIM2
|
||||
case GPIOC_7: // TIM3
|
||||
case GPIOE_6:
|
||||
case GPIOC_7: // TIM3 or TIM8
|
||||
case GPIOE_6: // TIM9
|
||||
case GPIOE_11: // TIM1
|
||||
return ICU_CHANNEL_2;
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue