Enabling interrupts

By mlaverne , 26 September 2012

Hi,

I want to enable interrupts so I can empty the FIFO only when needed (I don't want to poll for interrupts).

What is the correct sequence for this?

I don't see any code setting up reg 55, and unfortunately the document does not state the reset defaults of this register (in fact for none of the registers??) so I have no idea what the interrupt level, latch, etc is.

What is the correct sequence of calls?

Do I need to register a function with the MotionApps through inv_register_dmp_interupt_cb? I don't see why, because my OS handles the interrupt when it occurs (through ISR->IST).

The AT32 code does not have an example for this, so any pointer (to documentation or otherwise) would be much appreciated.

wonkyum_lee

13 years 4 months ago

Hi, i'm in the same trouble.
Can you kindly explain how to enable interrupts?

phpbb Post ID
21306
phpbb Topic ID
14712