[riot-commits] [RIOT-OS/RIOT] b9ceac: kinetis: Optimize GPIO IRQ handler

Kaspar Schleiser kaspar at schleiser.de
Thu Nov 8 22:27:40 CET 2018


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: b9ceac5ccc3515518f751a7c5b5c2c30188fef91
      https://github.com/RIOT-OS/RIOT/commit/b9ceac5ccc3515518f751a7c5b5c2c30188fef91
  Author: Joakim Nohlgård <joakim.nohlgard at eistec.se>
  Date:   2018-11-08 (Thu, 08 Nov 2018)

  Changed paths:
    M cpu/kinetis/periph/gpio.c

  Log Message:
  -----------
  kinetis: Optimize GPIO IRQ handler

Measurements show that the time from pin edge until return from
interrupt is reduced from 22 us to 6.1 us for KW41Z running at
41.94 MHz. The measurements used a no-op GPIO callback for testing and
were measured using an external logic analyzer.


  Commit: 8bb73f237de78c61a7f992c06ffd64e9d02789fe
      https://github.com/RIOT-OS/RIOT/commit/8bb73f237de78c61a7f992c06ffd64e9d02789fe
  Author: Joakim Nohlgård <joakim.nohlgard at eistec.se>
  Date:   2018-11-08 (Thu, 08 Nov 2018)

  Changed paths:
    M cpu/kinetis/periph/gpio.c

  Log Message:
  -----------
  kinetis: GPIO: avoid dup calls to cortexm_isr_end on KW41Z

Devices with combined IRQs would call the cortexm_isr_end handler twice
when it is part of the irq_handler routine.


  Commit: f3fa8b5ecd5f3d0dcbd4b3d0dfebbd51f9cdccf2
      https://github.com/RIOT-OS/RIOT/commit/f3fa8b5ecd5f3d0dcbd4b3d0dfebbd51f9cdccf2
  Author: Kaspar Schleiser <kaspar at schleiser.de>
  Date:   2018-11-08 (Thu, 08 Nov 2018)

  Changed paths:
    M cpu/kinetis/periph/gpio.c

  Log Message:
  -----------
  Merge pull request #8558 from gebart/pr/kinetis-gpio-interrupt

kinetis: Optimize GPIO interrupt handler


Compare: https://github.com/RIOT-OS/RIOT/compare/12049a577942...f3fa8b5ecd5f
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the commits mailing list