How to distinguish overflow & underflow interrupt in MCB mode of EMIOS?

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

How to distinguish overflow & underflow interrupt in MCB mode of EMIOS?

823件の閲覧回数
Jianpeng_Peng
NXP Employee
NXP Employee

pastedImage_7.png

Flags are generated only at A1 match start if MODE[5] is 0. If MODE[5] is set to 1 flags are also generated at the cycle boundary.

When the FLAG is set, interrupt can be triggered. But how to distinguish FLAG is set at A1 match or cycle boundary?

ラベル(1)
タグ(3)
0 件の賞賛
2 返答(返信)

745件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

there is no way to distinguish between those, unless you read CNT value, but even this could not give you right decision in same cases.

BR, Petr

0 件の賞賛

745件の閲覧回数
Jianpeng_Peng
NXP Employee
NXP Employee

Thanks Petr for your answer, I find a way.

https://community.nxp.com/docs/DOC-343869

0 件の賞賛