Chapter 1

Introduction

The dsPIC Helper Library is a small collection of macros and functions written in C that I have found useful while developing and prototyping Microchip dsPIC-based embedded software. It includes a 16-bit CRC-CCITT implementation, a stand-in for the missing <stdint.h> header file for defining types like int16_t, a stand-in for the missing <stdbool.h> header file for defining the Boolean type, and various low-level macros emitting special instructions, like CLRWDT to clear the watchdog timer.

I have released this code under the GNU General Public License with the hope that others might find it useful.