Text
Embedded C programming and the Atmel AVR
Tabel of Contents:
1. Embedded C Language Tutorial
1.1. Objectives
1.2. Introduction
1.3. Beginning Concepts
1.4. Variables and Constants
1.4.1. Variable Types
1.4.2. Variable Scope
1.4.2.1. Local variable
1.4.2.2. Global variables
1.4.3. Constant
1.4.3.1. Numeric constants
1.4.3.2. Character constants
1.4.4. Enumerations and Definitions
1.4.5. Storage Classes
1.4.5.1. Automatic
1.4.5.2. Static
1.4.5.3. Register
1.4.6. Type casting
1.5. I/O Operations
1.6. Operators and Expressions
1.6.1. Assignment and Arithmetic Operators
1.6.2. Logical and Relational Operators
1.6.3. Increment, Decrement and Compound Assignment
1.6.4. The Conditional Expression
1.6.5. Operator Precedence
1.7. Control Statements
1.7.1. While Loop
1.7.2. Do/While Loop
1.7.3. For Loop
1.7.4. If/Else
1.7.5. Switch/Case
1.7.6. Break, Continue and Goto
1.8. Functions
1.8.1. Prototyping and Function Organization
1.8.2. Functions that Return Values
1.8.3. Recursion
1.9. Pointer and Arrays
1.9.1. Pointers
1.9.2. Arrays
1.9.3. Multidimensional Arrays
1.9.4. Pointers to Function
1.10. Structures and Unions
1.10.1. Structures
1.10.2. Arrays of Structure
1.10.3. Pointers to Structure
1.10.4. Unions
1.10.5. Typedef Operator
1.10.6. Bits and Bitfields
1.10.7. Sizeof Operator
1.11. Memory Types
1.11.1. Constants and Variables
1.11.2. Pointers
1.11.3. Register Variables
1.12. Real-Time Methods
1.12.1. Using interrupts
1.12.2. Real-Time Executive
1.12.3. State Machines
1.13. Programming Style, Standards and Guidelines
1.14. Chapter Summary
1.15. Exercises
1.16. Laboratory Activities
2. The Atmel RISC Processors
2.1. Objectives
2.2. Introduction
2.3. Architectural Overview
2.4. Memory
2.4.1. Flash Code Memory
2.4.2. Data Memory
2.4.3. EEPROM Memory
2.5. Reset and Interrupt Functions
2.6. Parallel I/O Ports
2.7. Timer/Counters
2.7.1. Timer/Counter Prescaler and Input Selectors
2.7.2. Timer 0
2.7.3. Timer 1
2.7.4. Timer 2
2.8. Serial Communication Using the Usart
2.9. Analog Interfaces
2.9.1. Analog-to-Dial Background
2.9.2. Analog-to-Dial Computer Peripheral
2.9.3. Analog Comparator Peripheral
2.10. Serial Communication Using The SPI
2.11. Serial Communication Using I2C
2.12. The AVR Risc Assembly Language Instruction Set
2.13. Chapter Summary
3. Standard I/O and Preprocessors
3.1. Objectives
3.2. Introduction
3.3. Character Input/Output Functions
No other version available