[riot-commits] [RIOT-OS/RIOT] 58a888: drivers/periph: remodeled the ADC periph interface

Martine Lenders authmillenon at gmail.com
Mon Mar 14 14:45:26 CET 2016


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 58a8884acf66302784022e808e8bc712851f9467
      https://github.com/RIOT-OS/RIOT/commit/58a8884acf66302784022e808e8bc712851f9467
  Author: Hauke Petersen <hauke.petersen at fu-berlin.de>
  Date:   2016-03-14 (Mon, 14 Mar 2016)

  Changed paths:
    M drivers/include/periph/adc.h

  Log Message:
  -----------
  drivers/periph: remodeled the ADC periph interface


  Commit: dbaafc0ea1dee098dcb6e73199fd1c13b90da98c
      https://github.com/RIOT-OS/RIOT/commit/dbaafc0ea1dee098dcb6e73199fd1c13b90da98c
  Author: Hauke Petersen <hauke.petersen at fu-berlin.de>
  Date:   2016-03-14 (Mon, 14 Mar 2016)

  Changed paths:
    M tests/periph_adc/README.md
    M tests/periph_adc/main.c

  Log Message:
  -----------
  tests/periph_adc: adapted to ADC interface changes


  Commit: 5b57bc80b0f266f81dc32b8d4a397f21473feee1
      https://github.com/RIOT-OS/RIOT/commit/5b57bc80b0f266f81dc32b8d4a397f21473feee1
  Author: Hauke Petersen <hauke.petersen at fu-berlin.de>
  Date:   2016-03-14 (Mon, 14 Mar 2016)

  Changed paths:
    A sys/adc_util/Makefile
    A sys/adc_util/adc_util.c
    A sys/include/adc_util.h

  Log Message:
  -----------
  sys: added module for simple ADC value converion


  Commit: fc7c25c95ef9913d7b915ba6c8528dff86d93987
      https://github.com/RIOT-OS/RIOT/commit/fc7c25c95ef9913d7b915ba6c8528dff86d93987
  Author: Hauke Petersen <hauke.petersen at fu-berlin.de>
  Date:   2016-03-14 (Mon, 14 Mar 2016)

  Changed paths:
    M cpu/stm32f4/include/periph_cpu.h
    M cpu/stm32f4/periph/adc.c
    M cpu/stm32f4/periph/gpio.c

  Log Message:
  -----------
  cpu/stm32f4: reworked the ADC driver


  Commit: 52c30f703302124273e913ee849fde6b4b7b98cd
      https://github.com/RIOT-OS/RIOT/commit/52c30f703302124273e913ee849fde6b4b7b98cd
  Author: Hauke Petersen <hauke.petersen at fu-berlin.de>
  Date:   2016-03-14 (Mon, 14 Mar 2016)

  Changed paths:
    M boards/stm32f4discovery/include/periph_conf.h

  Log Message:
  -----------
  boards/stm32f4discovery: adapted ADC configuration


  Commit: e25d1c9dc57469150c03b8339f2555b02f16c16d
      https://github.com/RIOT-OS/RIOT/commit/e25d1c9dc57469150c03b8339f2555b02f16c16d
  Author: Hauke Petersen <hauke.petersen at fu-berlin.de>
  Date:   2016-03-14 (Mon, 14 Mar 2016)

  Changed paths:
    M boards/msbiot/include/periph_conf.h

  Log Message:
  -----------
  boards/msbiot: adapted to ADC interface changes


  Commit: 843c456f4b9ff3fdc23fd23ca7a21f097c1cb9d4
      https://github.com/RIOT-OS/RIOT/commit/843c456f4b9ff3fdc23fd23ca7a21f097c1cb9d4
  Author: Hauke Petersen <hauke.petersen at fu-berlin.de>
  Date:   2016-03-14 (Mon, 14 Mar 2016)

  Changed paths:
    M cpu/nrf51/periph/adc.c
    M cpu/nrf5x_common/include/periph_cpu.h

  Log Message:
  -----------
  cpu/nrf51: adapted ADC driver to interface changes


  Commit: d82eac3ed5f274ad06a1940cf1c990d7a38d2714
      https://github.com/RIOT-OS/RIOT/commit/d82eac3ed5f274ad06a1940cf1c990d7a38d2714
  Author: Hauke Petersen <hauke.petersen at fu-berlin.de>
  Date:   2016-03-14 (Mon, 14 Mar 2016)

  Changed paths:
    M boards/airfy-beacon/include/periph_conf.h

  Log Message:
  -----------
  boards/airfy-beacon: adapted to ADC changes


  Commit: 4b3a792087fdbf1ed3076836ee70de184898e682
      https://github.com/RIOT-OS/RIOT/commit/4b3a792087fdbf1ed3076836ee70de184898e682
  Author: Hauke Petersen <hauke.petersen at fu-berlin.de>
  Date:   2016-03-14 (Mon, 14 Mar 2016)

  Changed paths:
    M boards/pca10005/include/periph_conf.h

  Log Message:
  -----------
  boards/pca10005: adapted to ADC changes


  Commit: e5bae2776d9e27751416d2abffda5aa2c985cd71
      https://github.com/RIOT-OS/RIOT/commit/e5bae2776d9e27751416d2abffda5aa2c985cd71
  Author: Hauke Petersen <hauke.petersen at fu-berlin.de>
  Date:   2016-03-14 (Mon, 14 Mar 2016)

  Changed paths:
    M boards/yunjia-nrf51822/include/periph_conf.h

  Log Message:
  -----------
  boards/yunjia-nrf: adapted to ADC changes


  Commit: da80af479ca187cf7523f4ff386b1a62ea2d4ec8
      https://github.com/RIOT-OS/RIOT/commit/da80af479ca187cf7523f4ff386b1a62ea2d4ec8
  Author: Hauke Petersen <hauke.petersen at fu-berlin.de>
  Date:   2016-03-14 (Mon, 14 Mar 2016)

  Changed paths:
    M cpu/stm32f0/include/periph_cpu.h
    M cpu/stm32f0/periph/adc.c

  Log Message:
  -----------
  cpu/stm32f0: reworked ADC driver


  Commit: 32e4f7b7861757afa11e82efaaee05ae80b8da1f
      https://github.com/RIOT-OS/RIOT/commit/32e4f7b7861757afa11e82efaaee05ae80b8da1f
  Author: Hauke Petersen <hauke.petersen at fu-berlin.de>
  Date:   2016-03-14 (Mon, 14 Mar 2016)

  Changed paths:
    M boards/stm32f0discovery/include/periph_conf.h

  Log Message:
  -----------
  boards/stm32f0discovery: adapted ADC configuration


  Commit: 575659cd1cfce7d018e90b4b9d24daee6d6f4a44
      https://github.com/RIOT-OS/RIOT/commit/575659cd1cfce7d018e90b4b9d24daee6d6f4a44
  Author: Hauke Petersen <hauke.petersen at fu-berlin.de>
  Date:   2016-03-14 (Mon, 14 Mar 2016)

  Changed paths:
    M cpu/lpc11u34/include/periph_cpu.h
    M cpu/lpc11u34/periph/adc.c

  Log Message:
  -----------
  cpu/lpc11u34: reworked ADC driver


  Commit: d12dd79d64eeb437c749a1e1a74c899d9ec656f1
      https://github.com/RIOT-OS/RIOT/commit/d12dd79d64eeb437c749a1e1a74c899d9ec656f1
  Author: Hauke Petersen <hauke.petersen at fu-berlin.de>
  Date:   2016-03-14 (Mon, 14 Mar 2016)

  Changed paths:
    M boards/weio/include/periph_conf.h

  Log Message:
  -----------
  boards/weio: adapted ADC configuration


  Commit: 3990bd84e74a0c0e1353fe843830df3f7f7c1fb6
      https://github.com/RIOT-OS/RIOT/commit/3990bd84e74a0c0e1353fe843830df3f7f7c1fb6
  Author: Hauke Petersen <hauke.petersen at fu-berlin.de>
  Date:   2016-03-14 (Mon, 14 Mar 2016)

  Changed paths:
    M cpu/kinetis_common/include/mcg.h
    M cpu/kinetis_common/include/periph_cpu.h
    M cpu/kinetis_common/periph/adc.c

  Log Message:
  -----------
  cpu/kinetis_common: reworked ADC driver


  Commit: b5d03dd4e9c10ae0c7cea195a307c1078160b7ad
      https://github.com/RIOT-OS/RIOT/commit/b5d03dd4e9c10ae0c7cea195a307c1078160b7ad
  Author: Hauke Petersen <hauke.petersen at fu-berlin.de>
  Date:   2016-03-14 (Mon, 14 Mar 2016)

  Changed paths:
    M boards/mulle/include/periph_conf.h

  Log Message:
  -----------
  boards/mulle: adapted to ADC driver changes


  Commit: 4f157c64894921ef03f64bf1eb63dbefb130f7be
      https://github.com/RIOT-OS/RIOT/commit/4f157c64894921ef03f64bf1eb63dbefb130f7be
  Author: Hauke Petersen <hauke.petersen at fu-berlin.de>
  Date:   2016-03-14 (Mon, 14 Mar 2016)

  Changed paths:
    M boards/frdm-k64f/include/periph_conf.h

  Log Message:
  -----------
  boards/frdm-k64f: updated ADC configuration


  Commit: 7dc8aa5098a50984ec52213d1fbd4db2065d2f87
      https://github.com/RIOT-OS/RIOT/commit/7dc8aa5098a50984ec52213d1fbd4db2065d2f87
  Author: Hauke Petersen <hauke.petersen at fu-berlin.de>
  Date:   2016-03-14 (Mon, 14 Mar 2016)

  Changed paths:
    M boards/pba-d-01-kw2x/include/periph_conf.h

  Log Message:
  -----------
  boards/pba-d-01: updated ADC configuration


  Commit: 58e2b93b7b0dcdb0055404bfb514c61b8ab34c97
      https://github.com/RIOT-OS/RIOT/commit/58e2b93b7b0dcdb0055404bfb514c61b8ab34c97
  Author: Hauke Petersen <hauke.petersen at fu-berlin.de>
  Date:   2016-03-14 (Mon, 14 Mar 2016)

  Changed paths:
    M cpu/k64f/cpu.c
    M cpu/k64f/include/cpu_conf.h

  Log Message:
  -----------
  cpu/k64f: moved include of mcg.h to cpu.c


  Commit: 56c8e49fd222264d6ef4dd3088dabb77c84d9886
      https://github.com/RIOT-OS/RIOT/commit/56c8e49fd222264d6ef4dd3088dabb77c84d9886
  Author: Hauke Petersen <hauke.petersen at fu-berlin.de>
  Date:   2016-03-14 (Mon, 14 Mar 2016)

  Changed paths:
    M cpu/kw2x/cpu.c
    M cpu/kw2x/include/cpu_conf.h

  Log Message:
  -----------
  cpu/kw2x: moved include of mcg.h to cpu.c


  Commit: 9bcfec9032e2b5d66a79b6da8fc5e7525e3ee949
      https://github.com/RIOT-OS/RIOT/commit/9bcfec9032e2b5d66a79b6da8fc5e7525e3ee949
  Author: Hauke Petersen <hauke.petersen at fu-berlin.de>
  Date:   2016-03-14 (Mon, 14 Mar 2016)

  Changed paths:
    M drivers/include/mq3.h
    M drivers/mq3/mq3.c

  Log Message:
  -----------
  drivers/mq3: adapted to ADC driver changes


  Commit: c46d8ee0ff0c0879bdd82d660a4e1e3a31926277
      https://github.com/RIOT-OS/RIOT/commit/c46d8ee0ff0c0879bdd82d660a4e1e3a31926277
  Author: Hauke Petersen <hauke.petersen at fu-berlin.de>
  Date:   2016-03-14 (Mon, 14 Mar 2016)

  Changed paths:
    M tests/driver_mq3/Makefile
    M tests/driver_mq3/main.c

  Log Message:
  -----------
  tests/driver_mq3: adapted to ADC driver changes


  Commit: 1c03639d03132e081ea2b0377b6bc5f5b6bcd4ca
      https://github.com/RIOT-OS/RIOT/commit/1c03639d03132e081ea2b0377b6bc5f5b6bcd4ca
  Author: Hauke Petersen <hauke.petersen at fu-berlin.de>
  Date:   2016-03-14 (Mon, 14 Mar 2016)

  Changed paths:
    M tests/periph_dac/main.c

  Log Message:
  -----------
  tests/periph_dac: adapted to ADC changes


  Commit: 87f87726f9e8895ff545d602b34e96a291c45c4d
      https://github.com/RIOT-OS/RIOT/commit/87f87726f9e8895ff545d602b34e96a291c45c4d
  Author: Hauke Petersen <hauke.petersen at fu-berlin.de>
  Date:   2016-03-14 (Mon, 14 Mar 2016)

  Changed paths:
    M boards/f4vi1/include/periph_conf.h

  Log Message:
  -----------
  boards/f4vi1: added dummy ADC config


  Commit: 7dd4c533af8b863c4dcf993176d81ef554b6fb75
      https://github.com/RIOT-OS/RIOT/commit/7dd4c533af8b863c4dcf993176d81ef554b6fb75
  Author: Hauke Petersen <hauke.petersen at fu-berlin.de>
  Date:   2016-03-14 (Mon, 14 Mar 2016)

  Changed paths:
    M boards/nrf51dongle/include/periph_conf.h

  Log Message:
  -----------
  boards/nrf51dongle: added dummy ADC config


  Commit: 164ae7ea596c9bd6f8c14f2076f389db770d7b85
      https://github.com/RIOT-OS/RIOT/commit/164ae7ea596c9bd6f8c14f2076f389db770d7b85
  Author: Hauke Petersen <hauke.petersen at fu-berlin.de>
  Date:   2016-03-14 (Mon, 14 Mar 2016)

  Changed paths:
    M boards/nrf6310/include/periph_conf.h

  Log Message:
  -----------
  boards/nrf6310: added dummy ADC config


  Commit: 7a763960163d85ee962ba901f5d7fd13ad0a063c
      https://github.com/RIOT-OS/RIOT/commit/7a763960163d85ee962ba901f5d7fd13ad0a063c
  Author: Hauke Petersen <hauke.petersen at fu-berlin.de>
  Date:   2016-03-14 (Mon, 14 Mar 2016)

  Changed paths:
    M boards/nucleo-f091/include/periph_conf.h

  Log Message:
  -----------
  boards/nucleo-f091: added dummy ADC config


  Commit: 838683dd7a46bb1f188e365eea1af0c0f93dfb1c
      https://github.com/RIOT-OS/RIOT/commit/838683dd7a46bb1f188e365eea1af0c0f93dfb1c
  Author: Hauke Petersen <hauke.petersen at fu-berlin.de>
  Date:   2016-03-14 (Mon, 14 Mar 2016)

  Changed paths:
    M boards/nucleo-f401/include/periph_conf.h

  Log Message:
  -----------
  boards/nucleo-f401: added dummy ADC config


  Commit: b1228037df702b9d95df364f93dc0cb2d7eaf27f
      https://github.com/RIOT-OS/RIOT/commit/b1228037df702b9d95df364f93dc0cb2d7eaf27f
  Author: Hauke Petersen <hauke.petersen at fu-berlin.de>
  Date:   2016-03-14 (Mon, 14 Mar 2016)

  Changed paths:
    M boards/airfy-beacon/include/periph_conf.h
    M boards/pca10000/include/periph_conf.h

  Log Message:
  -----------
  boards/pca10000: added dummy ADC config


  Commit: 65580164bbb6ff283cfd8e45c7f1702794e51745
      https://github.com/RIOT-OS/RIOT/commit/65580164bbb6ff283cfd8e45c7f1702794e51745
  Author: Hauke Petersen <hauke.petersen at fu-berlin.de>
  Date:   2016-03-14 (Mon, 14 Mar 2016)

  Changed paths:
    M boards/ek-lm4f120xl/include/periph_conf.h

  Log Message:
  -----------
  baords/ek-lm4f120xl: adapted ADC configuration


  Commit: 432f033384ac05aad5b87bb580253db3bb08fb7d
      https://github.com/RIOT-OS/RIOT/commit/432f033384ac05aad5b87bb580253db3bb08fb7d
  Author: Hauke Petersen <hauke.petersen at fu-berlin.de>
  Date:   2016-03-14 (Mon, 14 Mar 2016)

  Changed paths:
    M cpu/lm4f120/include/periph_cpu.h
    M cpu/lm4f120/periph/adc.c

  Log Message:
  -----------
  cpu/lm4f120: reworked ADC implementation


  Commit: d66625b6ca72fceaa5fd697f5b20f49eedbe63d7
      https://github.com/RIOT-OS/RIOT/commit/d66625b6ca72fceaa5fd697f5b20f49eedbe63d7
  Author: Martine Lenders <authmillenon at gmail.com>
  Date:   2016-03-14 (Mon, 14 Mar 2016)

  Changed paths:
    M boards/airfy-beacon/include/periph_conf.h
    M boards/ek-lm4f120xl/include/periph_conf.h
    M boards/f4vi1/include/periph_conf.h
    M boards/frdm-k64f/include/periph_conf.h
    M boards/msbiot/include/periph_conf.h
    M boards/mulle/include/periph_conf.h
    M boards/nrf51dongle/include/periph_conf.h
    M boards/nrf6310/include/periph_conf.h
    M boards/nucleo-f091/include/periph_conf.h
    M boards/nucleo-f401/include/periph_conf.h
    M boards/pba-d-01-kw2x/include/periph_conf.h
    M boards/pca10000/include/periph_conf.h
    M boards/pca10005/include/periph_conf.h
    M boards/stm32f0discovery/include/periph_conf.h
    M boards/stm32f4discovery/include/periph_conf.h
    M boards/weio/include/periph_conf.h
    M boards/yunjia-nrf51822/include/periph_conf.h
    M cpu/k64f/cpu.c
    M cpu/k64f/include/cpu_conf.h
    M cpu/kinetis_common/include/mcg.h
    M cpu/kinetis_common/include/periph_cpu.h
    M cpu/kinetis_common/periph/adc.c
    M cpu/kw2x/cpu.c
    M cpu/kw2x/include/cpu_conf.h
    M cpu/lm4f120/include/periph_cpu.h
    M cpu/lm4f120/periph/adc.c
    M cpu/lpc11u34/include/periph_cpu.h
    M cpu/lpc11u34/periph/adc.c
    M cpu/nrf51/periph/adc.c
    M cpu/nrf5x_common/include/periph_cpu.h
    M cpu/stm32f0/include/periph_cpu.h
    M cpu/stm32f0/periph/adc.c
    M cpu/stm32f4/include/periph_cpu.h
    M cpu/stm32f4/periph/adc.c
    M cpu/stm32f4/periph/gpio.c
    M drivers/include/mq3.h
    M drivers/include/periph/adc.h
    M drivers/mq3/mq3.c
    A sys/adc_util/Makefile
    A sys/adc_util/adc_util.c
    A sys/include/adc_util.h
    M tests/driver_mq3/Makefile
    M tests/driver_mq3/main.c
    M tests/periph_adc/README.md
    M tests/periph_adc/main.c
    M tests/periph_dac/main.c

  Log Message:
  -----------
  Merge pull request #4430 from haukepetersen/opt_periph_adc

drivers/periph: reworked the ADC driver


Compare: https://github.com/RIOT-OS/RIOT/compare/1659b9cc071d...d66625b6ca72


More information about the commits mailing list