UART in ISR

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
chmoc_1567941
Level 4
Level 4

how can i set UART in interrupt service routine????

   

its like whenever UART receive some value than isr function call.....

0 Likes
2 Replies
HeLi_263931
Level 8
Level 8
100 solutions authored 50 solutions authored 25 solutions authored

You can access the UART from an ISR as you would do in all other places in your code. Nothing special there. But since an ISR is typically time-critical, don't do any longer operations there.

0 Likes
chmoc_1567941
Level 4
Level 4

i tried this many times but i cant do that perfectly.

   

is that any sample project available on pscoc1?? which can explain me UART in ISR

0 Likes