O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Programming 16-Bit PIC Microcontrollers in C, 2nd Edition

Book Description

New in the second edition:

  • MPLAB X support and MPLAB C for the PIC24F v3 and later libraries
  • I2C™ interface
  • 100% assembly free solutions
  • Improved video, PAL/NTSC
  • Improved audio, RIFF files decoding
  • PIC24F GA1, GA2, GB1 and GB2 support

Most readers will associate Microchip's name with the ubiquitous 8-bit PIC microcontrollers but it is the new 16-bit PIC24F family that is truly stealing the scene. Orders of magnitude increases of performance, memory size and the rich peripheral set make programming these devices in C a must. This new guide by Microchip insider Lucio Di Jasio teaches readers everything they need to know about the architecture of these new chips: How to program them, how to test them, and how to debug them. Di Jasio’s common-sense, practical, hands-on approach starts out with basic functions and guides the reader step-by-step through even the most sophisticated programming scenarios. Experienced PIC users, including embedded engineers, programmers, designers, and SW and HW engineers, and new comers alike will benefit from the text’s many thorough examples, which demonstrate how to nimbly sidestep common obstacles and take full advantage of the many new features.

!

  • A Microchip insider introduces you to 16-bit PIC programming the easy way!
  • Condenses typical introductory "fluff" focusing instead on examples and exercises that show how to solve common, real-world design problems quickly
  • Includes handy checklists to help readers perform the most common programming and debugging tasks

Table of Contents

  1. Cover image
  2. Title page
  3. Table of Contents
  4. Copyright
  5. Dedication
  6. Preface
  7. Introduction to the Second Edition
  8. Introduction
    1. Who Should Read this Book?
    2. Structure of the Book
    3. What this Book is Not
    4. Checklists
  9. Part I: First Flights
    1. Chapter 1. The First Flight
      1. Publisher Summary
      2. Flight Plan
      3. Preflight Checklist
      4. The Flight
      5. Post-Flight Briefing
      6. Notes for the Assembly Experts
      7. Notes for the PIC Microcontroller Experts
      8. Notes for the C Experts
      9. Tips & Tricks
      10. Exercises
      11. Books
      12. Links
    2. Chapter 2. A Loop in the Pattern
      1. Publisher Summary
      2. Flight Plan
      3. Preflight Checklist
      4. The Flight
      5. Post-Flight Briefing
      6. Notes for the Assembly Experts
      7. Notes for the PIC® Microcontroller Experts
      8. Notes for the C Experts
      9. Tips & Tricks
      10. Exercises
      11. Books
      12. Links
    3. Chapter 3. More Pattern Work, More Loops
      1. Publisher Summary
      2. Flight Plan
      3. Preflight Checklist
      4. The Flight
      5. Post-Flight Briefing
      6. Notes for the Assembly Experts
      7. Notes for the PIC® Microcontroller Experts
      8. Notes for the C Experts
      9. Tips & Tricks
      10. Notes for PIC24 GA1 and GB1 Users
      11. Exercises
      12. Books
      13. Links
    4. Chapter 4. Numb3rs
      1. Publisher Summary
      2. Flight Plan
      3. Preflight Checklist
      4. The Flight
      5. Notes for the C Experts
      6. Post-Flight Briefing
      7. Notes for the Assembly Experts
      8. Notes for the PIC® Microcontroller Experts
      9. Tips & Tricks
      10. Exercises
      11. Books
      12. Links
    5. Chapter 5. Interrupts
      1. Publisher Summary
      2. Flight Plan
      3. Preflight Checklist
      4. The Flight
      5. Post-Flight Briefing
      6. Notes for the C Experts
      7. Notes for the Assembly Experts
      8. Notes for the PIC Microcontroller Experts
      9. Tips & Tricks
      10. Exercises
      11. Books
      12. Links
    6. Chapter 6. Taking a Look Under the Hood
      1. Publisher Summary
      2. Flight Plan
      3. Preflight Checklist
      4. The Flight
      5. Post-Flight Briefing
      6. Notes for the C Experts
      7. Notes for the Assembly Experts
      8. Notes for the PIC Microcontroller Experts
      9. Tips & Tricks
      10. Exercises
      11. Books
      12. Links
  10. Part II: Flying “Solo”
    1. Part II. Flying “Solo”
    2. Chapter 7. Synchronous Communication
      1. Publisher Summary
      2. Flight Plan
      3. Preflight Checklist
      4. The Flight
      5. Post-Flight Briefing
      6. Notes for the C Experts
      7. Notes for the Experts
      8. Notes for the PIC Microcontroller Experts
      9. Tips & Tricks
      10. Exercises
      11. Books
      12. Links
    3. Chapter 8. Asynchronous Communication
      1. Publisher Summary
      2. Flight Plan
      3. Preflight Checklist
      4. The Flight
      5. Post-Flight Briefing
      6. Notes for the C Experts
      7. Notes for the PIC® Microcontroller Experts
      8. Tips & Tricks
      9. Exercises
      10. Books
      11. Links
    4. Chapter 9. Glass=Bliss
      1. Publisher Summary
      2. Flight Plan
      3. Preflight Checklist
      4. The Flight
      5. Post-Flight Briefing
      6. Notes for User Interface Experts
      7. Notes for the C Experts
      8. Tips & Tricks
      9. Exercises
      10. Books
      11. Links
    5. Chapter 10. It’s an Analog World
      1. Publisher Summary
      2. Flight Plan
      3. Preflight Checklist
      4. The Flight
      5. Post-Flight Briefing
      6. Notes for the C Experts
      7. Tips & Tricks
      8. Exercises
      9. Books
      10. Links
  11. Part III: Cross-Country Flying
    1. Part III. Cross-Country Flying
    2. Chapter 11. Capturing Inputs
      1. Publisher Summary
      2. Flight Plan
      3. The Flight
      4. Post-Flight Briefing
      5. Tips & Tricks
      6. Exercises
      7. Books
      8. Links
    3. Chapter 12. The Dark Screen
      1. Publisher Summary
      2. Flight Plan
      3. The Flight
      4. Post-Flight Briefing
      5. Tips & Tricks
      6. Exercises
      7. Books
      8. Links
    4. Chapter 13. Mass Storage
      1. Publisher Summary
      2. Flight Plan
      3. The Flight
      4. Post-Flight Briefing
      5. Tips & Tricks
      6. Exercises
      7. Books
      8. Links
    5. Chapter 14. File I/O
      1. Publisher Summary
      2. Flight Plan
      3. The Flight
      4. Post-Flight Briefing
      5. Notes for the PIC® Microcontroller Experts
      6. Tips & Tricks
      7. Exercises
      8. Books
      9. Links
    6. Chapter 15. Volare
      1. Publisher Summary
      2. Flight Plan
      3. The Flight
      4. Post-Flight Briefing
      5. Tips & Tricks
      6. Exercises
      7. Books
      8. Links
      9. Nel Blu Dipinto Di Blu
  12. Index