1 What is the Delay Driver?

The MPLAB® XC8 and XC-DSC compilers have built-in delay functions or macros to make the microcontroller (MCU) wait for a certain amount of time. For these delay functions, time is measured in microseconds or milliseconds, and for PIC32 devices, in timer ticks as well. The format for invoking these macros will vary from device to device, but this delay driver helps abstract the format differences.