Академический Документы
Профессиональный Документы
Культура Документы
Digital Proofer
ARM
INTRODUCTION TO
CORTEX-M MICROCONTROLLERS
Embedded Systems
Authored by Jonathan W Valvano
7.5" x 9.25" (19.05 x 23.49 cm)
Black & White on White paper
506 pages
ISBN-13: 9781477508992
ISBN-10: 1477508996
Volume 1
Fourth Edition, 2nd printing
2
3
Once you are satisfied with your review, you can approve your proof
and move forward to the next step in the publishing process.
To print this proof we recommend that you scale the PDF to fit the size
of your printer paper.
Jonathan W. Valvano
ii
Jonathan Valvano
Jonathan Valvano
Table of Contents
Preface to the Fourth Edition.................................................................... ix
Preface........................................................................................................ x
Acknowledgements ................................................................................... xi
1. Introduction to Computers and Electronics ........................................ 1
In order to reduce costs, this college textbook has been self-published. For more information about my
classes, my research, and my books, see http://users.ece.utexas.edu/~valvano/
For corrections and comments, please contact me at: valvano@mail.utexas.edu. Please cite this book as:
J. W. Valvano, Embedded Systems: Introduction to ARM Cortex-M Microcontrollers, Volume 1,
http://users.ece.utexas.edu/~valvano/, ISBN: 978-1477508992.
Copyright 2013 Jonathan W. Valvano
All rights reserved. No part of this work covered by the copyright herein may be reproduced,
transmitted, stored, or used in any form or by any means graphic, electronic, or mechanical, including but
not limited to photocopying, recording, scanning, digitizing, taping, web distribution, information
networks, or information storage and retrieval, except as permitted under Section 107 or 108 of the 1976
United States Copyright Act, without the prior written permission of the publisher.
ISBN-13: 978-1477508992
ISBN-10: 1477508996
iii
iv
Jonathan Valvano
Jonathan Valvano
vi
Jonathan Valvano
Jonathan Valvano
5.9. Exercises..........................................................................................233
5.10. Lab Assignments...........................................................................235
6. Pointers and Data Structures ................................................................237
6.10. Exercises........................................................................................273
6.11. Lab Assignments...........................................................................276
7. Variables, Numbers, and Parameter Passing.......................................277
7.1. Local versus global .........................................................................278
vii
viii
Jonathan Valvano
Jonathan Valvano
9.10. Exercises........................................................................................376
9.11. Lab Assignments...........................................................................378
10. Analog I/O Interfacing ..........................................................................379
10.1. Approximating continuous signals in the digital domain..........379
10.2. Digital to Analog Conversion .......................................................381
10.3. Music Generation ..........................................................................383
10.4. Analog to Digital Conversion .......................................................387
10.4.1. LM3S/TM4C ADC details................................................................388
10.4.2. ADC Resolution .................................................................................391
10.6. Real-time data acquisition ............................................................392
10.7. Exercises........................................................................................393
10.8. Lab Assignments...........................................................................395
11. Communication Systems.....................................................................397
ix