How to make ADC work using Processor Expert

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to make ADC work using Processor Expert

823件の閲覧回数
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 返信

491件の閲覧回数
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 件の賞賛