Mplab C30 Compiler High Quality -

This is a thoughtful request. The (for dsPIC30/33 and PIC24 families) is now legacy (superseded by XC16), but many engineers still maintain projects on it.

// Usage: INTERRUPT(_U1RXInterrupt, 6) /* code */

int main() init_uart_buffer(); unsigned char ch; while (1) if (c30_cbuf_get(&uart_rx, &ch) == 0) // process byte