Bi Directional Buffer 74LS245
This types of bi directional buffer is required for data bus as it has to function as bi directional bus. The logic diagram of such buffer is shown in figure. The direction of data flow is controlled by Dir pin. When DIR is high data flow from A bus to B bus when DIR is low data flow from B to A .