her feature of the IDC of the present invention, each PSG channel includes at least one state machine for generating at least one of the event-driven pulse sequences, the state machine further including at least one configurable look-up-table for defining the at least one pulse sequence, and a timer for creating at least one internal event used in the generation.