Timing is everything: Analysis and synthesis of traffic patterns in event-triggered control