Clarify the functional description of the touch_sense core

Signed-off-by: Joachim Strömbergson <joachim@assured.se>
This commit is contained in:
Joachim Strömbergson 2024-04-22 13:31:23 +02:00 committed by Michael Cardell Widerkrantz
parent a5e30f1203
commit f655196af7
No known key found for this signature in database
GPG Key ID: D3DB3DDF57E704E5
1 changed files with 6 additions and 4 deletions

View File

@ -1,16 +1,18 @@
# touch_sense
Core that handles touch senor events and provides them SW via an API.
Core that handles touch sensor events and provides them to the SW via
an API.
## Introduction
This core implements a touch sensor handler. The core detects and
holds events for SW to read. The touch sensor input is expected to be
a change in level from low (0) to high (1). When an event is seen, the
core will set a status bit that SW can read. SW must then clear the
event by writing to the status register.
core will set a status bit that SW can read.
The user is expected to lift the finger between multiple touch events.
SW must clear the captured event by writing to the status
register. The core will wait for the sensor input to become low again
before being able to detect another event.
## API