UID:
edoccha_9960073561102883
Format:
1 online resource (421 p.)
Edition:
First edition
ISBN:
0-12-801470-9
Content:
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 peri
Note:
Description based upon print version of record.
,
Half Title; Title Page; Copyright; Contents; Introduction; Chapter 1 C Overview and Program Structure; C Source Code; Comments; Program Structure; C Preprocessor Directives; Functions; Declarations; Statements and Expressions; Time; Typing Accuracy; Text Formatting; Compatibility Notes; Summary; Quiz; Chapter 2 Constants; Bits, Bytes, Etc.; Bits; Nibbles; Bytes; Syntax of C Constants; Binary; Decimal; Signed Integers; Hexadecimal; Octal; Floating Point; Fixed Point; Characters; String of Characters; True and False; Const; Tri-Graph Sequences; Compatibility Notes; Design Documentation
,
SummaryQuiz; Chapter 3 Preprocessor Directives; Standard Preprocessor Directives; #define id text; #include or #include "filename"; #ifdef#ifndef#else#endif#undef; #if#else#elif#endif; #error; #nolist#list; Compatibility Notes; Nonstandard Pragmas; #warning; #use delay; About Frequency; #use rs232 (options); #fuses options; #locate id=address; #byte id=x#word id=x; #bit id=x.y; #reserve address; Bootloaders; #rom address={data}; #id data; Other Pragmas; Summary; Quiz; Chapter 4 Data Variables and Types; Data Types; Characters; Integers; Compatibility Note; Integer Format
,
Enumerated TypesFixed Point; Floating Point; Interpretation Help; Floating-Point Format; Void; typedef; Declaring Variables; Identifiers; Scope of a Variable; Life of a Variable; More Qualifiers; Design Documentation; RAM; Summary; Quiz; Chapter 5 Expressions and Operators; Mathematical Operators; Compatibility Notes; Operator Precedence; Expression Type and Type Conversion; Relational Operators; Binary Bitwise Operators; Compatibility Notes; Assignment Operators; Increment/Decrement Operators; Other Operators; Sequence Points; Expression Examples; Summary; Quiz; Chapter 6 Statements
,
if Statementwhile Loops; for Loop; Jump Statements; switch/case Statement; Side Effects; Nesting, Indentation, and Use of Braces; Design Documentation; Program Complexity; Summary; Quiz; Chapter 7 Functions; main() FUNCTION; Function Definitions; Function Parameters; Compatibility Notes; Reference Parameters; Default Parameters; Overloaded Functions; Return Values; Inline Functions; Nested Functions; Recursive Functions; A Little More on Sequence Points; Well-Structured Programs; Design Documentation; Implementation Details; Summary; Quiz; Chapter 8 Arrays; Array Initializers; Constant Arrays
,
String VariablesDimensionless Arrays; Multidimensional Arrays; Index Range; Example Array Usage; Lookup Tables; Searching Arrays; Sorting Arrays; Summary; Quiz; Chapter 9 Structures; Structure Nesting and Arrays; Structure Layout in Memory; Bit Fields; Unions; Example of Structures in a Program; Summary; Quiz; Chapter 10 Memory and Pointers; Memory; Address-of Operator; Indirection Operator; Forcing a Variable Address; Pointer Types; Pointer Math; Back to Subscripts; Back to Function Parameters; Back to Structures; Function Pointers; Other Uses for Pointers; Bad Ideas; Common Mistakes
,
ROM Pointers
,
English
Additional Edition:
ISBN 0-12-801314-1
Additional Edition:
ISBN 1-322-16716-8
Language:
English
Bookmarklink