This section explains how to perform an acquisition with ADC, how to configure an event callback and perform sampling.