chap9/trap_test.c File Reference
#include "pic24_all.h"
Go to the source code of this file.
|
Functions |
int | main (void) |
Detailed Description
Perform a divide by 0. Because there is not handler defined for the math error trap, the
_DefaultInterrupt will catch it and report an error. Code in
trap_test_handled.c gives an example of an ISR that handles this trap.
Definition in file trap_test.c.
Function Documentation