|
H753_CPP_SPI_Resistive_Touch_Screen_Controller 1.0
STM32H753 SPI resistive touchscreen (Adafruit 333 overlay + 5767 TSC2046 controller) driver and tutorial
|
Startup self-test for the TSC2046 touch controller. More...
Go to the source code of this file.
Classes | |
| struct | touchSelfTestReport_t |
| Result of the most recent touchSelfTestRunAll(). More... | |
Enumerations | |
| enum | touchSelfTestId_t { TOUCH_SELFTEST_NONE = 0 , TOUCH_SELFTEST_SPI_TRANSFER , TOUCH_SELFTEST_FRAMING , TOUCH_SELFTEST_IDLE } |
| Self-test identifiers. More... | |
Functions | |
| const touchSelfTestReport_t * | touchSelfTestRunAll (void) |
| Runs every self-test in order, stopping at the first failure, and prints progress and a PASS/FAIL verdict to stdout. Requires initTSC2046() to have run. | |
| const touchSelfTestReport_t * | touchSelfTestGetReport (void) |
Startup self-test for the TSC2046 touch controller.
Startup self-test for the TSC2046 touch controller, run once at boot before the touch loop starts. Structure follows this site's other validation suites (test-ID and status enums, one persistent report struct, RunAll()), scaled to what can be checked on a touch controller. Each test targets a failure that actually occurred while bringing this hardware up:
The suite is non-destructive: it only reads. Keep hands off the panel while it runs (about a third of a second).
Created on: Sep 19, 2026 Author: johng
Definition in file touchSelfTest.h.
| enum touchSelfTestId_t |
Self-test identifiers.
Definition at line 53 of file touchSelfTest.h.
| const touchSelfTestReport_t * touchSelfTestGetReport | ( | void | ) |
| The | most recent report, without re-running any test. |
| const touchSelfTestReport_t * touchSelfTestRunAll | ( | void | ) |
Runs every self-test in order, stopping at the first failure, and prints progress and a PASS/FAIL verdict to stdout. Requires initTSC2046() to have run.
| Pointer | to a persistent report describing the outcome. |
Referenced by main().