English
Language : 

AN3342 Datasheet, PDF (20/39 Pages) STMicroelectronics – Getting started with STM8TL5xxx
STM8TL5x firmware libraries
8
STM8TL5x firmware libraries
AN3342
In order to ease the development start-up, two firmware libraries are provided:
● The STM8TL5x standard peripheral library
● The STM8TL5x STMTouch library
8.1
STM8TL5x standard peripheral library
This STM8TL5x firmware library contains the standard peripheral drivers (timers, I2C, SPI,
USART, watchdogs, etc...) and a complete set of source code examples for each STM8TL5x
peripheral. It is written in strict ANSI-C and it is fully MISRA C 2004 compliant.
All examples can be used with four workspace and project definition files:
● One for the STVD and Cosmic C compiler
● One for the STVD and Raisonance Compiler
● One for the Raisonance integrated debugging environment and compiler (RIDE7 IDE)
● One for the IAR embedded workbench for STM8 (EWSTM8).
This enables the user to load and compile them easily into their preferred development
environment.
8.2
STM8TL5x STMTouch library
The STM8TL5x STMTouch library is dedicated to the management of the ProxSense (PXS)
peripheral. It follows the same coding rules as the standard peripheral library. The
STM8TL5x STMTouch library allows you to enable touch sensing capabilities on STM8TL5x
devices. This simple firmware offers a complete and robust solution to manage capacitive
sensing keys, wheels or sliders.
20/39
Doc ID 18461 Rev 3