Flexible and self-calibrating current-steering digital-to-analog converters door