Closed jack-greenberg closed 1 year ago
Thanks for reporting! :)
Hm. This does indeed seem like a missing trait implementation, so that this port is supported. I've originally generated those implementations from the bases of the stm32cubemx database. Apparently my script for that wasn't as fleshed out as I hoped to be, so I missed some channels.
See #337
I've released version v0.9.2, which includes the fixes. Can you report, if this fixes your problem?
I'm not 100% sure if I'm just implementing incorrectly, but I am unable to use one of the ADC channels for a pin that I believe it is supposed to work for.
Chip: STM32F303RBTx ADC: ADC4 Channel: 5 Pin: 15
Here's the code:
And the output:
``` error[E0277]: the trait bound `stm32f3xx_hal::gpio::PinThe datasheet indicates that PB15 is connected to ADC4 Channel 5.