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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

765 Views
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?

Labels (1)
Tags (3)
0 Kudos
2 Replies

687 Views
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 Kudos

687 Views
Jianpeng_Peng
NXP Employee
NXP Employee

Thanks Petr for your answer, I find a way.

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

0 Kudos