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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

793 次查看
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 回复数

715 次查看
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 项奖励

715 次查看
Jianpeng_Peng
NXP Employee
NXP Employee

Thanks Petr for your answer, I find a way.

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

0 项奖励