Efficient implementation of a three-channel ECG digital acquisition module