ADC Reading Before OS init.

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

ADC Reading Before OS init.

692件の閲覧回数
rijil_kp
Contributor III

How can I read an ADC channel using the MCAL code.

My requirement is to get the ADC data before OS init happens, So I wont be able to use any interrupts for ADC conversions. 

0 件の賞賛
返信
1 返信

638件の閲覧回数
hungnguyenphi
NXP Employee
NXP Employee

Hello Rijil K P,

From my point of view, we can use:

- Adc_ReadGroup() API.

- "Adc Group Without Interrupts" is true.

- "Adc Group Access Mode" in ADC_ACCESS_MODE_SINGLE mode. 

Then we can read ADC channel without setting ADC interrupt.

Best regards,

Hung.

0 件の賞賛
返信