Day 7 Running

The Plan

In the six previous days of exploration, we have gradually begun reviewing the most basic concepts of C programming as they apply to embedded control and in particular as they apply to the PIC32MX architecture. We have also started to familiarize ourselves with the basic features of the PIC32 that affect its performance, such as the 32-bit multiplier, the interrupt system, the register set(s), and the memory management module. But so far, we have only been counting the number of assembly instructions looking inside the disassembly window, or counting the instruction cycles, using the MPLAB® SIM simulator StopWatch. In all cases we avoided any direct reference to time when considering the execution of code, using peripherals ...

Get Programming 32-bit Microcontrollers in C now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.