Hacker
25/2/02
3:04 pm
Page i
Embedded C
8322 Prelims (i-xvi)
25/2/02
3:04 pm
Page ii
8322 Prelims (i-xvi)
25/2/02
3:04 pm
Page iii
Embedded C
Michael J. Pont
An imprint of
Pearson Education
London • Boston • Indianapolis • New York • Mexico City • Toronto Sydney • Tokyo • Singapore • Hong Kong • Cape Town • New Delhi Madrid •Paris • Amsterdam • Munich • Milan • Stockholm
8322 Prelims (i-xvi)
25/2/02
3:04 pm
Page iv
PEARSON EDUCATION LIMITED Head Office: Edinburgh Gate Harlow CM20 2JE Tel: +44 (0)1279 623623 Fax: +44 (0)1279 431059 Websites: www.aw.com/cseng/ www.it-minds.com First published in Great Britain in 2002 © Pearson Education Limited 2002 The right of Michael J. Pont to be identified as Author ofthis Work has been asserted by him in accordance with the Copyright, Designs and Patents Act 1988. ISBN 0 201 79523 X British Library Cataloguing in Publication Data A CIP catalogue record for this book can be obtained from the British Library Library of Congress-in-Publication Data Pont, Michael J. Embedded C/Michael J. Pont. p. cm. Includes bibliographical references and index. ISBN0-201-79523-X (pbx. : alk. paper) 1.C (Computer program language) 2. Embedded computer systems--Design and construction. I. Title. QA76.73.C15 P65 2002 005.265--dc21 2001056731 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 either the priorwritten permission of the Publishers or a licence permitting restricted copying in the United Kingdom issued by the Copyright Licensing Agency Ltd, 90 Tottenham Court Road, London W1P 0LP. This book may not be lent, resold, hired out or otherwise disposed of by way of trade in any form of binding or cover other than that in which it is published, without the prior consent of the Publishers. The programsin this book have been included for their instructional value. The publisher does not offer any warranties or representations in respect of their fitness for a particular purpose, nor does the publisher accept any liability for any loss or damage arising from their use. Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. PearsonEducation Limited has made every attempt to supply trademark information about manufacturers and their products mentioned in this book. The publishers wish to thank Infineon Technologies for permission to reproduce the material in Figure 1.4. 10 9 8 7 6 5 4 3 2 1 Designed by Claire Brodmann Book Designs, Lichfield, Staffs Typeset by Pantek Arts Ltd, Maidstone, Kent Printed and bound in Great Britainby Biddles Ltd of Guildford and King’s Lynn The Publisher’s policy is to use paper manufactured from sutainable forests. London Office: 128 Long Acre London WC2E 9AN Tel: +44 (0)20 7447 2000 Fax: +44 (0)20 7240 5771
8322 Prelims (i-xvi)
25/2/02
3:04 pm
Page v
This book is dedicated to Sarah
8322 Prelims (i-xvi)
25/2/02
3:04 pm
Page vi
About the author
Michael J.Pont is an experienced software engineer who began his first embedded project in 1986. Since then he has lectured and carried out research at the University of Sheffield and the University of Leicester, and has provided consultancy and training services to a range of international companies. Michael is the author of two previous books Patterns for Time-Triggered Embedded Systems and SoftwareEngineering with C++ and CASE tools.
8322 Prelims (i-xvi)
25/2/02
3:04 pm
Page vii
Contents
Preface
xi
1 Programming embedded systems in C
1.1 Introduction
1
1 1 2 7 9 12
1.2 What is an embedded system? 1.3 Which processor should you use?
1.4 Which programming language should you use? 1.5 Which operating system should you use? 1.6 How do you develop embedded software?...
Regístrate para leer el documento completo.