2 options
Embedded C programming : techniques and applications of C and PIC MCUS / Mark Siegesmund.
- Format:
- Book
- Author/Creator:
- Siegesmund, Mark, author.
- Language:
- English
- Subjects (All):
- C (Computer program language).
- Microcontrollers.
- Physical Description:
- 1 online resource (421 p.)
- Edition:
- First edition
- Other Title:
- Techniques and applications of C and PIC MCUS
- Place of Publication:
- Kidlingtom, Oxford ; Waltham, Massachusetts : Newnes, 2014.
- Language Note:
- English
- System Details:
- text file
- Summary:
- 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
- Contents:
- 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
- Notes:
- Description based upon print version of record.
- Includes bibliographical references.
- Description based on print version record.
- ISBN:
- 9780128014707
- 0128014709
- OCLC:
- 897387948
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.