All of the event cases I see are triggered by controls on the user interface. Can I trigger an event based on a hardware event. Here are some hardware events I'd like to serve as interrupts:
1. Byte received at serial port
2. CAN frame received
3. Telnet activity etc.
Currently I'm using the timeout event to check for messages, bytes, etc. For large applications this is cumbersome and inefficient.