13.3.2.6 Software Event
The application can generate a Software Event. Software Events on channel n are issued by writing a '1'
to the EVSYS.STROBE[n] bit. A software event appears as pulse on the event system channel, inverting
the current event system value for one clock cycle.
Event users see Software Events as no different from those produced by event generating peripherals.
When the EVSYS.STROBE[n] bit is written to '1', an Event will be generated on the respective channel,
and received and processed by the Event User.
13.3.3
Sleep Mode Operation
When configured, the Event System will work in all sleep modes. One exception is software Events which
require a system clock.
Asynchronous event users are able to respond to an event without their clock running, i.e. in Standby
sleep mode. Synchronous event users require their clock to be running to be able to respond to events.
Such users will only work in Idle sleep mode or in Standby sleep mode if configured to run in Standby
mode by setting the RUNSTBY bit in the appropriate register.
Asynchronous event generators are able to generate an event without their clock running, i.e. in Standby
sleep mode. Synchronous event generators require their clock to be running to be able to generate
events. Such generators will only work in Idle sleep mode or in Standby sleep mode if configured to run in
Standby mode by setting the RUNSTBY bit in the appropriate register.
13.3.4
Debug Operation
This peripheral is unaffected by entering Debug mode.
©
2018 Microchip Technology Inc.
Datasheet Preliminary
®
megaAVR
0-Series
Event System (EVSYS)
DS40002015A-page 122
Need help?
Do you have a question about the megaAVR 0 Series and is the answer not in the manual?