QNX RTOS v4 Knowledge Base
QNX RTOS v4 Knowledge Base
Title |
Error: Interrupt handler faulted from floating point operations in interrupt handlers (ISR). |
Ref. No. |
QNX.000001482 |
Category(ies) |
Development |
Issue |
Floating point operations in an interrupt service routine (ISR) cause "interrupt handler faulted" exception. Why?
|
Solution |
Floating point operations do not work in interrupt handlers. They are not permitted and will cause your program to fault. The way around this is to return a proxy from the interrupt service routine (ISR) and then handle interrupt code in a proxy handler and do any floating point operations you have to there. |
|