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