5 Theory of Operation166 Keysight 34970A/34972A Service GuideDigital I/OComponents in this discussion are located on the A1 circuit assembly(34907-66501).A simplified diagram of a digital I/O channel is shown below.Two stages of latches on the outputs and one set of latches on the inputs providesynchronous 16 bit writes and reads of the digital ports.For digital output, data is written to the upper and lower bytes (U201 and U202)separately, then latched into the output latches U203 and U204 simultaneously.On a digital input data is latched into the input latches U105 and U106simultaneously.MOSFETs are used to provide the low level output, and 74HC240’s are used toprovide the high level output.During an output low, a logic high level is applied to the gate of the MOSFETcausing it to conduct and creating a low resistance path from the data line toZGND. In this state the MOSFET is capable of sinking an externally suppliedcurrent of up to 400 mA. The blocking diodes, CR301-CR308 and CR401-CR408prevent any current from sinking into the 74HC240’s.During an output high, a logic low level is applied to the gate of the MOSFETturning it off and presenting a high resistance between the data line and ground.