Project

General

Profile

Fehler #696

Touch: Whole processing is done in ISR

Added by Maximilian Seesslen 9 months ago. Updated 3 months ago.

Status:
In Bearbeitung
Priority:
Normal
Target version:
Start date:
09/25/2025
Due date:
% Done:

0%

Estimated time:
CS Zielversion:

Description

In theory the application could be accessing EEPROM and user can press touch.
The I2C periphery would then get reconfigured, touch get read, returned to application, EEPROM access fails.
This could be fixed by locks. But then the codepath to read touch in applications event loop has to exist anyways.

Processing has to be implement to be called from event loop.

Meanwhile there are deferred signals and a global event loop. This can be easily adapted.

The state-machine can be split: the signal of the input can only handle the interrupt line; the event loop does not know about the line.

History

#1

Updated by Maximilian Seesslen 9 months ago

  • Status changed from Neu to In Bearbeitung
  • Assignee set to Maximilian Seesslen
  • Target version set to v2.17.0
#2

Updated by Maximilian Seesslen 3 months ago

  • Description updated (diff)
#3

Updated by Maximilian Seesslen 3 months ago

  • Description updated (diff)
#4

Updated by Maximilian Seesslen 3 months ago

  • Description updated (diff)

Also available in: Atom PDF