Embedded C Programming: Techniques and Applications of C and PIC MCUS
- Length: 424 pages
- Edition: 1
- Language: English
- Publisher: Newnes
- Publication Date: 2014-10-03
- ISBN-10: 0128013141
- ISBN-13: 9780128013144
- Sales Rank: #1227424 (See Top 100 Books)
This book provides a hands-on introductory course on concepts of C programming using a PIC® microcontroller and CCS C compiler. Through a project-based approach, this book provides an easy to understand method of learning the correct and efficient practices to program a PIC® microcontroller in C language. Principles of C programming are introduced gradually, building on skill sets and knowledge. Early chapters emphasize the understanding of C language through experience and exercises, while the latter half of the book covers the PIC® microcontroller, its peripherals, and how to use those peripherals from within C in great detail.
This book demonstrates the programming methodology and tools used by most professionals in embedded design, and will enable you to apply your knowledge and programming skills for any real-life application. Providing a step-by-step guide to the subject matter, this book will encourage you to alter, expand, and customize code for use in your own projects.
- A complete introduction to C programming using PIC microcontrollers, with a focus on real-world applications, programming methodology and tools
- Each chapter includes C code project examples, tables, graphs, charts, references, photographs, schematic diagrams, flow charts and compiler compatibility notes to channel your knowledge into real-world examples
- Online materials include presentation slides, extended tests, exercises, quizzes and answers, real-world case studies, videos and weblinks
Table of Contents
Chapter 1 C Overview and Program Structure
Chapter 2 Constants
Chapter 3 Preprocessor Directives
Chapter 4 Data Variables and Types
Chapter 5 Expressions and Operators
Chapter 6 Statements
Chapter 7 Functions
Chapter 8 Arrays
Chapter 9 Structures
Chapter 10 Memory and Pointers
Chapter 11 Built-in Functions
Chapter 12 Strings
Chapter 13 Function-Like Macros
Chapter 14 Conditional Compilation
Chapter 15 PIC® Microcontroller
Chapter 16 Discrete Input and Output
Chapter 17 Interrupts
Chapter 18 Timers/Counters
Chapter 19 Advanced Timing
Chapter 20 Analog Techniques
Chapter 21 Internal Serial Busses
Chapter 22 External Serial Busses
Chapter 23 Multitasking
Chapter 24 Inline Assembly
Chapter 25 Debugging