This document describes the features of the STMicroelectronics STM8-TOUCH-LIB touch sensing library, including supported acquisition principles, multifunction capability, flexible configuration, enhanced processing features, interface, and compatibility.
The STMicroelectronics STM8-TOUCH-LIB is a complete C source code library designed to transform 8-bit STMB8 microcontrollers into capacitive touch sensing controllers. It supports both resistor-capacitor (RC) and charge transfer (CT) acquisition principles, allowing designers to replace electromechanical switches with touch keys, wheels, and sliders.
| Supported acquisition principles | RC and CT |
|---|---|
| Max RC touchkeys | 24 |
| Max CT touchkeys (STM8L101x) | 6 |
| Max CT touchkeys (STM8L15x) | 16 |
| Compiler compatibility | COSMIC, AR and Raisonance C compilers |
The library supports both resistor-capacitor (RC) and charge transfer (CT) acquisition principles.
No, the library minimizes the number of external components required.
CT acquisition is only supported by STM8L101x and STM8L15x devices.