Implantable electronic devices capable of multi-channel recording physiological signals, on-chip feature extraction and responsive stimulation for the purpose of monitoring or diagnostics or treatment of various neurological or physiological disorders. The outcome of this device is used to predict/detect onset of a targeted physiological event. Such decision triggers an arbitrary subset of electrical/optical/chemical stimulators back to the physiological system. Alternatively, recorded signals or/and the output of the processing unit could be transmitted to a computer base station using wired or wireless links. Power is provided to all the blocks of this microsystem using wired or wireless (inductive) links.