Created
May 13, 2014 16:16
-
-
Save yamamaya/656403b2488ebde33ea7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void __attribute__((interrupt, auto_psv)) _U1RXInterrupt() { | |
char c = (char)U1RXREG; | |
IFS0bits.U1RXIF = 0; | |
// Do something | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment