Question: Create ADC header and source files that contain functions that allow for: ADC_Config and ADC_Read The purpose of these functions is as follows: ADC.Config inputs:
Create ADC header and source files that contain functions that allow for: ADC_Config and ADC_Read The purpose of these functions is as follows: ADC.Config inputs: RES-resolution Prescale - Prescale value (ie 1/3) Ref-Reference value (ie 1.2VBG) Input selection - Which ADC IN Output: SUCCESS This function should perform the configuration of an ADC pin. As well as enable the ADC. ADC_Read Input:Data Output: SUCCESS This function will run through a "read" of the ADC. Submit: a program that takes measurements from the ADC using your functions. The program will run continuously taking measurements from a single ADC pin. The results will be printed in the debug console to the user in multiple forms: the raw hexadecimal result the raw decimal result the converted float value voltage (V)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
