chap9/int0_wakeup.c File Reference

#include "pic24_all.h"

Go to the source code of this file.

Functions

void _ISRFAST _INT0Interrupt (void)
 Interrupt Service Routine for INT0.
void CONFIG_SW1 ()
 Switch1 configuration, RB7 shares INT0 pin on PIC24HGP202.
int main (void)


Detailed Description

Demonstrates the use of int0 interrupt to wake from Sleep mode. Pushbutton on an int0 pin is used to wake from Sleep mode.

Definition in file int0_wakeup.c.


Function Documentation

int main ( void   ) 

Configure the switch

Configure INT0 interrupt

Definition at line 51 of file int0_wakeup.c.


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