This book provides a complete intermediate-level discussion of microcontroller programming using the C programming language. It covers both the adaptations to C necessary for targeting an embedded environment, and the common components of a successful development project. | brought tn you by loam FLY Team-Fly Page i C Programming for Embedded Systems Kirk Zurell R D Books Lawrence Kansas 66046 Page ii Disclaimer This netLibrary eBook does not include the ancillary media that was packaged with the original printed version of the book. R D Books CMP Media Inc. 1601 W. 23rd Street Suite 200 Lawrence KS 66046 USA Designations used by companies to distinguish their products are often claimed as trademarks. In all instances where R D is aware of a trademark claim the product name appears in initial capital letters in all capital letters or in accordance with the vendor s capitalization preference. Readers should contact the appropriate companies for more complete information on trademarks and trademark registrations. All trademarks and registered trademarks in this book are the property of their respective holders. Copyright 2000 by Byte Craft Limited. Licensed Material. All rights reserved. Published by R D Books CMP Media Inc. All rights reserved. Printed in the United States of America. No part of this publication may be reproduced or distributed in any form or by any means or stored in a database or retrieval system without the prior written permission of the publisher with the exception that the program listings may be entered stored and executed in a computer system but they may not be reproduced for publication. The programs in this book are presented for instructional value. The programs have been carefully tested but are not guaranteed for any particular purpose. The publisher does not offer any warranties and does not guarantee the accuracy adequacy or completeness of any information herein and is not responsible for any errors or omissions. The publisher assumes no liability for damages resulting from the use of the information in this book or for any infringement of the intellectual property rights of third parties that would result from the use of this information. Cover art created by Robert Ward. Distributed in the . and .