[riot-commits] [RIOT-OS/RIOT] cbae01: drivers/stmpe811: fix interrupt polarity & type

Alexandre Abadie noreply at github.com
Wed Jul 22 11:12:57 CEST 2020


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: cbae0186ca69ccff988bca3e3edea8088eb94c52
      https://github.com/RIOT-OS/RIOT/commit/cbae0186ca69ccff988bca3e3edea8088eb94c52
  Author: Benjamin Valentin <benpicco at googlemail.com>
  Date:   2020-07-21 (Tue, 21 Jul 2020)

  Changed paths:
    M drivers/stmpe811/stmpe811.c

  Log Message:
  -----------
  drivers/stmpe811: fix interrupt polarity & type

The Interrupt on the stmpe811 is generated on the falling edge.
By observing the rising edge, we will only get an event if the
interrupt gets cleared.

Also configure the interrupt to be edge triggered instead of
level triggered.


  Commit: f857b7116be0c74762c578a847e6275c2bb7d27e
      https://github.com/RIOT-OS/RIOT/commit/f857b7116be0c74762c578a847e6275c2bb7d27e
  Author: Benjamin Valentin <benpicco at googlemail.com>
  Date:   2020-07-21 (Tue, 21 Jul 2020)

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

  Log Message:
  -----------
  tests/driver_stmpe811: don't poll for touch events

Now that the interrupt of the driver works properly, we don't have to
rely on polling.

Instead, wake the thread by touch interrupt.


  Commit: caead7bb75e986d318a5ed5a15fb526c3fbc7077
      https://github.com/RIOT-OS/RIOT/commit/caead7bb75e986d318a5ed5a15fb526c3fbc7077
  Author: Benjamin Valentin <benpicco at googlemail.com>
  Date:   2020-07-22 (Wed, 22 Jul 2020)

  Changed paths:
    M drivers/stmpe811/stmpe811.c

  Log Message:
  -----------
  drivers/stmpe811: always clear interrupt state


  Commit: 37b096562aed8c00a55b817c2e1bcbb9a4832d07
      https://github.com/RIOT-OS/RIOT/commit/37b096562aed8c00a55b817c2e1bcbb9a4832d07
  Author: Alexandre Abadie <alexandre.abadie at inria.fr>
  Date:   2020-07-22 (Wed, 22 Jul 2020)

  Changed paths:
    M drivers/stmpe811/stmpe811.c

  Log Message:
  -----------
  drivers/stmpe811: ensure fifo is not empty before reading touch position


  Commit: 9b3e94bf342ab307a6c988200839af3e63bc6f96
      https://github.com/RIOT-OS/RIOT/commit/9b3e94bf342ab307a6c988200839af3e63bc6f96
  Author: Alexandre Abadie <alexandre.abadie at inria.fr>
  Date:   2020-07-22 (Wed, 22 Jul 2020)

  Changed paths:
    M tests/driver_stmpe811/README.md

  Log Message:
  -----------
  tests/driver_stmpe811: update application README


  Commit: 09fe0c76675dd7b229f5b7ad45f13d104dbceab6
      https://github.com/RIOT-OS/RIOT/commit/09fe0c76675dd7b229f5b7ad45f13d104dbceab6
  Author: Alexandre Abadie <alexandre.abadie at inria.fr>
  Date:   2020-07-22 (Wed, 22 Jul 2020)

  Changed paths:
    M drivers/stmpe811/stmpe811.c
    M tests/driver_stmpe811/Makefile
    M tests/driver_stmpe811/README.md
    M tests/driver_stmpe811/main.c

  Log Message:
  -----------
  Merge pull request #14531 from benpicco/drivers/stmpe811/fix_polarity

drivers/stmpe811: fix interrupt polarity & interrupt generation


Compare: https://github.com/RIOT-OS/RIOT/compare/a0c4b8a4a0bf...09fe0c76675d


More information about the commits mailing list