How to make ADC work using Processor Expert

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to make ADC work using Processor Expert

819 Views
Kratz
Contributor IV

Here is an ADC code question for Processor Expert for KE02Z32 in KDS. The 10 ADC inputs are divided into 2 groups of 5 ch.

Is this the correct function form below the bean as suggested by the yellow help window? I need some help filling it in to work in my project. I think I would fill the form of the functions in with the "define" info from the ADC.c and ADC.h files. What do I need to do to make the ADC work?

 

AD1_SelectSampleGroup(); 

LDD_TError AD1SampleGroup(LDD_TDeviceData *DeviceDataPtr, unit8_t GroupIndex);    

 

 

AD1_StartSingleMeasurement();
LDD_TError AD1_StartSingleMeasurement (LDD_TDeviceData *DeviceDataPtr);

 

AD1_GetMeasuredValues(); LDD_TError
AD1_GetMeasuredValues (LDD_TDeviceData *DeviceDataPtr, LDD_TData *BufferPtr);

 

Labels (1)
0 Kudos
1 Reply

487 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hi Kevin,

you can refer to "Typical Usage"  of ADC_LDD.   (help on component  ->  Typical Usage )  .

Hope it helps !

Alice

0 Kudos