Hello,
I wrote a snippet a while back (3yrs) and have recently picked it back up for reuse. I have a UART packing a variable and incrementing a counter before jumping out of an ASM interrupt routine. I want to pick up 2 bytes (1 word ) from the UART receive buffer. At this time I have the code working on grabbing 1 byte. How do i grab 2 bytes from the UART with one interrupt? Is there a special ASM designation to command a double byte transfer from the RCREG buffer into a variable? My application is to receive a manchester encoded word and decode it to a byte.
Nick
Bookmarks