The `LS540 is similar in function to the 'LS240, except that the inputs and outputs are on opposite sides of the package (see Connection Diagram). This pinout arrangement makes this device especially useful as an output port for microprocessors, allowing ease of layout and greater PC board density.