HF RL Explorer

Repair a verified behavior in modm-io/modm.

Repair a verified behavior in modm-io/modm.: a task in OriGent-SFT-Data (Harbor dataset). On STM32 devices, the ADC helper Adc::setPinChannel<Gpio () derives its channel number directly from the GPIO pin number. That assumption is wrong because an ADC channel is associated with a particular GPIO…

The task

On STM32 devices, the ADC helper `Adc::setPinChannel<Gpio>()` derives its channel number directly from the GPIO pin number. That assumption is wrong because an ADC channel is associated with a particular GPIO and a particular ADC instance; pin number and channel number are not always equal. For example, on STM32F303…

Part of henryen/OriGent-SFT-Data.