This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How can I set fpu_interrupt_mode?

Hi Devzone!

I'm planning to integrate fpu_fft with ble_app_uart, and did it.

I wanna use IRQ of fpu_fft but I can't find where I should define fpu_interrupt_mode.

Where can I find it?

Best regards,

Baek

Parents Reply
  • With the interrupt enabled the floating-point unit can generate an interrupt when one of several exceptions occur. The exceptions are underflow, overflow, divide by zero, invalid operation, input denormal, and inexact exception.

    So in short,in interrupt mode you can be notified about exceptions that occur during the floating point operations. The alternative is to poll the FPSCR register- 

    Performance wise in terms of the actual FPU operations it should be the same if you use the FPU interrupt or not.

    Best regards

    Bjørn

Children
Related