1. A state machine for generating signals, said state machine operative to generate different signals according to the current state of the machine and changing state both as a function of an internal timer and as a function of signals representative of events external to the state machine.