Cargando…

Embedded C programming : techniques and applications of C and PIC MCUS /

This book provides an introductory course on concepts of C programming using a PIC microcontroller and CCS C compiler. Through a project-based approach, it provides an easy to understand method of learning the correct and efficient practices to program a PIC microcontroller in C language. Principles...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Siegesmund, Mark (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Kidlingtom, Oxford ; Waltham, Massachusetts : Newnes, 2014.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)
Tabla de Contenidos:
  • 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
  • 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