
Buffering and other data structures 339
10 Buffering and other data
structures
This chapter covers the aspects of possibly the most used
data structure within embedded system software. The use and
understanding behind buffer structures is an important issue and
can greatly effect the design of software.
What is a buffer?
A buffer is as its name suggests an area of memory that is
used to store data, usually on a temporary basis prior to processing
it. It is used to compensate for timing problems between software
modules or subsystems that cannot always guarantee to process
every piece of data as it becomes available. It is also used as a
collection point ...