PIC24 Support Libraries
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
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.