How to make ADC work using Processor Expert

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to make ADC work using Processor Expert

979 次查看
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);

 

标签 (1)
0 项奖励
回复
1 回复

647 次查看
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 项奖励
回复