Universal pressure transmitters including smart programmable pressure and differential pressure transmitters and switches