Skip to content
Commit 14e15df0 authored by Marius Scholtz's avatar Marius Scholtz Committed by Carles Cufí
Browse files

drivers: arm: stm32: adc: Added Shared IRQ



Certain stm32 soc's have a single shared irq for all adc channels
on those soc's only a single channel is supported.

Added a Kconfig that enables a shared irq for stm32f2x, stm32f4x,
stm32f7x soc's. The shared IRQ uses a flag to limit the number of
interrupts defined to only 1. A shared irq handler is added which
determines which ADC instance the interrupt is for, it then calls
into the existing interrupt.

Signed-off-by: default avatarMarius Scholtz <mariuss@ricelectronics.com>
parent 412c051f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment