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

int main ( void   ) 

start

Definition at line 40 of file trap_test.c.


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