Figure 7: Digital sample circuit and output circuit.