pmic2CDROM,

 

[ Pobierz całość w formacie PDF ]
Programming
Microcontrollers in C
Second Edition
Ted Van Sickle
A Volume in the EMBEDDED TECHNOLOGY
TM
Series
Eagle Rock, Virginia
www.LLH-Publishing.com
 Copyright © 2000 by LLH Technology Publishing
All rights reserved. No part of this book may be reproduced, in any
form or means whatsoever, without written permission of the pub-
lisher. While every precaution has been taken in the preparation of
this book, the publisher and author assume no responsibility for
errors or omissions. Neither is any liability assumed for damages
resulting from the use of information contained herein.
Printed in the United States of America.
ISBN 1-878707-94-9 (eBook)
LLH Technology Publishing and HighText Publications are trade-
marks of Lewis Lewis & Helms LLC, 3578 Old Rail Road, Eagle
Rock, VA, 24085
Contents
Introduction vii
What's on the CD-ROM? xv
CHAPTER ONE: Introduction to C....................................
Some Simple Programs ............................................
Names .......................................................................
Types and Type Declarations ....................................
Storage Classes, Linkage, and Scope .......................
Character Constants ..................................................
Arrays .......................................................................
Other types ................................................................
Operators and Expressions .......................................
Increment and Decrement Operators ........................
Precedence and Associativity ...................................
Program Flow and Control .......................................
Functions ..................................................................
Recursion ..................................................................
Summary ...................................................................
CHAPTER TWO: Advanced C Topics................................
Pointers .....................................................................
Multidimensional Arrays ..........................................
Structures ..................................................................
More Structures ........................................................
Input and Output .......................................................
Memory Management ...............................................
Miscellaneous Functions ..........................................
Summary ...................................................................
CHAPTER THREE: What Are Microcontrollers?...............
Microcontroller Memory ..........................................
Input/Output .............................................................
 Programming Microcontrollers ................................
Coding Tips for Microcontrollers .............................
CHAPTER FOUR: Small 8-Bit Systems............................
Microcontroller Memory ..........................................
Timers .......................................................................
Analog-to-Digital Converter Operation ....................
Pulse Width Modulator System ................................
Other Program Items ................................................
Summary ...................................................................
CHAPTER FIVE: Programming Large 8-Bit Systems .......
Header File ...............................................................
Sorting Programs ......................................................
Data Compression .....................................................
Timer Operations ......................................................
Summary ...................................................................
CHAPTER SIX: Large Microcontrollers............................
The MC68HC16 .......................................................
System Integration Module (SIM) ............................
A Pulse Width Modulation Program ........................
Cosmic MC68HC16 Compiler .................................
Table Look-Up ..........................................................
Digital Signal Processor Operations .........................
Other MC68HC16 Considerations ...........................
CHAPTER SEVEN: Advanced Topics in
Programming Embedded Systems (M68HC12) ........
Numeric Encoding ....................................................
Numeric Decoding ....................................................
Coding the alpha data ...............................................
The Monitor Program ...............................................
The SAVEIT() Routine .............................................
The printout() and the printafter() Functions ...........
Reset .........................................................................
[ Pobierz całość w formacie PDF ]

  • zanotowane.pl
  • doc.pisz.pl
  • pdf.pisz.pl
  • fotocafe.xlx.pl
  •