We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]
posted on 2011/10/20 06:05:06 AM CEST
Dear Sir,
EUSART interrupt, I have written below lines
INTCON.GIE = 1;
INTCON.PEIE = 1;
PIR1.RC1IF = 1;
PIE1.RC1IE = 1 ;
But still EUSART interrupt does not work. U have any idea. Also may my mistake be in project setup
USER Comments
posted on 2011/11/01 05:05:29 AM CET
you have set
PIR1.RC1IF = 1;
instead of
PIR1.RC1IF = 0;
the flag should be low so that interrupt can be triggered when flag is enabled
Do you want to report abuse comment ID: 138 in "UART interrupt" request.