#endif // C30_UTILS_H #include "c30_utils.h" // Force buffer into Y data space for faster DSP-style UART processing unsigned char Y_DATA_SPACE uart_rx_buf[64]; // 64 bytes, must be power of two c30_cbuf_t uart_rx;

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

// Example: MAC with saturation inline int mac_saturate(int acc, int a, int b) acc += a * b; if (acc > 32767) acc = 32767; if (acc < -32768) acc = -32768; return acc;

mplab c30 compiler
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.