English
Language : 

AN3140 Datasheet, PDF (1/14 Pages) STMicroelectronics – How to configure the SPEAr3xx general purpose timers
AN3140
Application note
How to configure the SPEAr3xx general purpose timers (GPTs)
Introduction
This application note provides information about how to configure the general purpose
timers (GPTs) integrated in the SPEAr3xx embedded MPU family.
General purpose timers (GPTs) play an important role in any system as they provide a
means of calculating time for controlling the execution of various operations. In case of an
operating system, they are used for the system tick generation, usually every 10 ms; in other
applications they can be used to get a finer granularity for controlling the timing of events.
The purpose of this application note is to explain how to read the free running timer counter
and configure the clock source of the various GPTs that are integrated in the SPEAr3xx
architecture. It also describes and proposes a solution for the problem reported during the
Puppy Linux project concerning the status register interrupt bit clear issue.
May 2010
Doc ID 16997 Rev 1
1/14
www.st.com