5.1.7 Event Systems
The AVR and PIC32CM Event System (EVSYS) peripherals enable direct and autonomous communication between peripherals without CPU intervention. This system allows peripherals to generate and respond to events, providing low-latency, predictable. and synchronized actions across multiple modules. By offloading inter-peripheral signaling from the CPU, the Event System reduces software complexity, improves real-time performance, and enables advanced features like Core Independent Peripherals (CIPs) and SleepWalking (peripheral operation in sleep modes). Table 5-9 shows a comparison of features between AVR and PIC32CM.
| Feature | AVR® Event System (EVSYS) | PIC32CM Event System (EVSYS) |
|---|---|---|
| Number of Event Channels | Up to ten parallel channels (device-dependent) | Up to 12 configurable channels (device-dependent) |
| Event Users/Generators |
Peripherals Software |
Peripherals Software |
| Channel Routing | Per channel: One generator, multiple users | Per channel: One generator, multiple users |
| Event Path Types |
Asynchronous Synchronous |
Asynchronous Synchronous Resynchronized (via GCLK) |
| Edge Detection | Configured through individual peripherals | Configurable edge detector |
| Sleep Mode | Supported | Supported |
| CPU Offloading | Yes | Yes |
