chap9/trap_test_handled.c File Reference

#include "pic24_all.h"

Go to the source code of this file.

Functions

int main (void)


Detailed Description

Test installing an ISR for the MathError trap. Then, execute a divide by 0 and see if the trap silently handles the call or not (it does). If the trap is not handled, then _DefaultInterrupt will catch it and report an error. See the trap_test.c file for an example of an unhandled math error trap.

Definition in file trap_test_handled.c.


Function Documentation

int main ( void   ) 

start

Definition at line 49 of file trap_test_handled.c.


Generated on Sun Mar 15 11:14:22 2009 for PIC24 Support Libraries by  doxygen 1.5.8