Step 1: Create a pointer to the Device_cal function as shown in Example 3-1. This #define is included in the Header Files and Peripheral Examples.
Step 2: Call the function pointed to by Device_cal() as shown in Example 3-1. The ADC clocks must be enabled before making this call.