|
PIC24 Support Libraries
|
#include "pic24_all.h"Go to the source code of this file.
Functions | |
| int | main (void) |
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.
| int main | ( | void | ) |
start
Definition at line 49 of file trap_test_handled.c.
1.8.4