English
Language : 

UM0097 Datasheet, PDF (1/229 Pages) STMicroelectronics – STR71x firmware library
UM0097
User manual
STR71x firmware library
Introduction
About this manual
This document is the STR71x firmware library user manual. It describes the STR71x
peripheral firmware library: a collection of routines, data structures and macros that cover
the features of each peripheral.
The firmware library user manual is structured as follows:
● Definitions, document conventions and firmware library rules
● Overview of the firmware library (package content, library structure), installation
guidelines, and examples of how to use the library.
● Detailed description the firmware library: configuration structure and function
descriptions for each peripheral in detail.
About STR71x firmware library
The STR71x firmware library is a firmware package consisting of device drivers for all
standard STR71x peripherals. You can use any STR71x device in applications without in-
depth study of each peripheral specification. As a result, using this library can save you a lot
of the time that you would otherwise spend in coding and also the cost of developing and
integrating your application.
Each device driver consists of a set of functions covering the functionality of the peripheral.
Since all the STR71x peripherals and their corresponding registers are memory-mapped, a
peripheral can be easily controlled using ‘C’ code. The source code, developed in ‘C’, is fully
documented. A basic knowledge of ‘C’ programming is required.
The library contains a complete firmware in ‘C’ and it is independent from any software tool-
chains. Only the start-up files are tool-chain dependent.
Since the library is generic and covers all of the capabilities of each peripheral, it may not be
as efficient as it could be from a code size and/or execution speed point of view. For many
applications the library may be used as is. However, for applications with strong constraints
in terms of code size and/or execution speed, the library drivers should be used as a
reference, to show you how to configure the peripheral and which you can then tailor to your
specific application requirements.
September 2007
Rev 3
1/229
www.st.com