QEI Interrupts

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

QEI Interrupts

1,209 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Bernhard Hahn on Mon Jun 08 08:33:42 MST 2015
Hello all,
I am playing with the LPC1549 and his QEI. It works so far, but one problem I found:
The Interrupt for position compare.
In the datasheet I read:
Interrupts can be enabled to interrupt when the
compare value is less than, equal to, or greater than the current value of the position
register


So I understand, that an interrupt occurs for each, less, equal and greater.
But there is only a flag in the interrupt register for equal.

Am I blind, or have I understand something wrong?

Thank you in advanced,

Bernhard
标签 (1)
0 项奖励
回复
2 回复数

1,143 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Bernhard Hahn on Mon Jun 08 11:04:30 MST 2015
OK, thank you!

So I have to find other tricks.  :)
0 项奖励
回复

1,143 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Mon Jun 08 08:52:09 MST 2015

Quote: Bernhard Hahn
So I understand, that an interrupt occurs for each, less, equal and greater.



That's a typo, there's only one option: equal  :((
0 项奖励
回复