STM32L152: Added ADC Bank_B functionality.
Modified analogin_init function to take correct value for ChannelsBank depends on ADC pin.
This commit adds ADC Bank_B usablity to STm32L152RE. With this commit PB_2 can also woak as ADC_IN.
ls
1 parent a3be10c commit 0c9523a2a6a5142fc974e6d9f3be790497ac32ae
@Affrin Pinhero Affrin Pinhero authored on 10 May 2021
Showing 3 changed files
View
targets/TARGET_STM/PinNamesTypes.h
View
targets/TARGET_STM/TARGET_STM32L1/TARGET_STM32L152xE/TARGET_NUCLEO_L152RE/PeripheralPins.c
View
targets/TARGET_STM/TARGET_STM32L1/analogin_device.c 100644 → 100755