The system counter can be used to generate one or more event streams to generate periodic wake-up events. An event stream might be used for these reasons:
- To impose a timeout on a wait-for-event polling loop
- To safeguard against any programming error that means an expected event is not generated
Event Stream
An event stream is configured by these selections:
- Selecting which bit from the bottom 16 bits of a counter triggers the event, which determines the frequency of the events in the stream
- Selecting whether the event is generated on each 0 to 1 transition or each 1 to 0 transition of the selected counter bit