Disable Interrupts before ADC_GetChanValue

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

Disable Interrupts before ADC_GetChanValue

ソリューションへジャンプ
1,035件の閲覧回数
alexit
Contributor I

Is it necessary to disable interrupts (sei;) before calling for a single ADC conversion? I have two ADC channels configured for two samples (total about 87us) and want to know if an interrupt occuring during this cycle will cause erratic measurements...

Thanks, D

0 件の賞賛
返信
1 解決策
923件の閲覧回数
ankur_kala
NXP Employee
NXP Employee

Hi David,

You dont need to disable the interrupt for Analog measurement. It should work identical in both cases.

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
924件の閲覧回数
ankur_kala
NXP Employee
NXP Employee

Hi David,

You dont need to disable the interrupt for Analog measurement. It should work identical in both cases.

0 件の賞賛
返信