Copyright – Design Patterns for Embedded Systems in C


Newnes is an imprint of Elsevier

Linacre House, Jordan Hill, Oxford OX2 8DP, UK

30 Corporate Drive, Suite 400, Burlington, MA 01803, USA

First edition 2011

Copyright © 2011 Elsevier Inc. All rights reserved.

No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means electronic, mechanical, photocopying, recording or otherwise without the prior written permission of the publisher.

Permissions may be sought directly from Elsevier’s Science … Technology Rights Department in Oxford, UK: phone (+44) (0) 1865 843830; fax (+44) (0) 1865 853333; email: Alternatively you can submit your request online by visiting the Elsevier web site at, and selecting Obtaining permission to use Elsevier material.


No responsibility is assumed by the publisher for any injury and/or damage to persons or property as a matter of products liability, negligence or otherwise, or from any use or operation of any methods, products, instructions or ideas contained in the material herein. Because of rapid advances in the medical sciences, in particular, independent verification of diagnoses and drug dosages should be made.

Library of Congress Cataloging-in-Publication Data

Douglass, Bruce Powel.

Design patterns for embedded C: an embedded software engineering toolkit / Bruce Powel Douglass –st ed.

p. cm.

Includes index.

ISBN 978-1-85617-707-8

1. C (Computer program language) 2. Embedded computer systems-Programming. 3. Software patterns.

QA76.73.C15D685 2011


A catalog record for this book is available from the Library of Congress

British Library Cataloguing in Publication Data

A catalogue record for this book is available from the British Library

For information on all Newnes publications visit our website at

ISBN: 978-1-85617-707-8

Printed and bound in USA

13 12 11 10 9 8 7 6 5 4 3 2 1