PIC24 Support Libraries
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
int1_wakeup.c File Reference
#include "pic24_all.h"

Go to the source code of this file.

Functions

void CONFIG_SW1 ()
 Switch1 configuration, use RB13.
 
int main (void)
 

Detailed Description

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

Definition in file int1_wakeup.c.

Function Documentation

int main ( void  )

Configure the switch

Configure INT1 interrupt

Definition at line 50 of file int1_wakeup.c.