[En-Nut-Discussion] STM32F103 - ADC

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Fri May 10 15:50:48 CEST 2013

>>>>> "Achim" == Achim  <achim_muc1971 at gmx.de> writes:

    Achim> Hi Uwe, than´s for your comment. I hope Ulrich will give some
    Achim> commentŠ

    Achim> For me it looks a little bit strange, because in the c-file
    Achim> register bits are set which are not available in the STM32
    Achim> control registers - even not with similar names. Hence I´ve no
    Achim> idea how to define the missing registers.

Both stm32f1_adc.c and stm32_adc.c don't seem fit for purpose. It seems
somebody wanted to start an ADC driver and copied
nut/arch/arm/dev/at91_adc.c to the stm32 directory. However no real
adaptation took place.
Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------

More information about the En-Nut-Discussion mailing list