Data structures must be loaded with configurations before library usage. The ‘surface_cs’ module is initialized by calling the ‘qtm_init_surface_cs()’ API.
Sensor nodes (‘acquisition’ module) and keys (‘touch_key’ module) must be appropriately configured as required by the ‘surface_cs’ module.
Surface CS requires sensors configured and grouped to implement one horizontal and one vertical slider. If X pins are arranged horizontally, then the vertical slider is made up of (All X)/Each Y. Similarly, the horizontal slider is made up of Each X/(All Y).
Surface CS functions as a top-level module providing touch contact information to the application. It utilizes a touch key library module for sensor calibration, signal drift, touch detection, and timed feature implementations. The touch key module itself uses a target-specific acquisition module to interface with the capacitive measurement hardware.
In a QTML application, the module processing order must be called correctly: