Programmable and configurable current transducer for measuring direct, alternating, and distorted currents.