Exploring C for Microcontrollers.pdf

(4405 KB) Pobierz
122416804 UNPDF
122416804.001.png
EXPLORING C FOR MICROCONTROLLERS
Exploring C for Microcontrollers
A Hands on Approach
JIVAN S. PARAB
Goa University
India
VINOD G. SHELAKE
Shivaji University
Kolhapur, India
RAJANISH K. KAMAT
Shivaji University
Kolhapur, India
and
GOURISH M. NAIK
Goa University
India
122416804.002.png
A C.I.P. Catalogue record for this book is available from the Library of Congress.
ISBN 978-1-4020-6066-3 (HB)
ISBN 978-1-4020-6067-0 (e-book)
Published by Springer,
P.O. Box 17, 3300 AA Dordrecht, The Netherlands.
www.springer.com
Printed on acid-free paper
All Rights Reserved
© 2007 Springer
No part of this work may be reproduced, stored in a retrieval system, or transmitted
in any form or by any means, electronic, mechanical, photocopying, microfilming, recording
or otherwise, without written permission from the Publisher, with the exception
of any material supplied specifically for the purpose of being entered
and executed on a computer system, for exclusive use by the purchaser of the work.
Contents
Foreword
ix
Preface
xiii
Acknowledgments
xvii
1
Microcontrollers: Yesterday, Today, and Tomorrow
1
1.1 Defining Microcontrollers
1
1.2 Eagle’s View: Microcontrollers and Other Competing Devices
2
1.3 Vignettes: Microcontrollers
3
1.4 Microcontroller Applications
5
1.5 Growth Economics
7
1.6 The Major Players in the Microcontroller Chip Market
8
1.7 Architectural Trends
10
1.8 Jump Starting Your First Embedded System Project
14
1.9 Execution of Embedded System Project: Is it a
Gordian’s Knot?
16
2
Integrated Development Environment
19
2.1 Getting Familiar with the IDE
19
2.2 Working with Keil IDE
20
2.3 Development Flow for the Keil IDE
21
3
Art of C Programming for Microcontrollers
29
3.1 Familiarizing with Your Compiler Capabilities
29
3.2 Whether to Use Headers or Not?
30
3.3 Basic C Program Structure
34
3.4 Differences from ANSI C
34
v
Zgłoś jeśli naruszono regulamin