SCEA117 July 2022 SN74HCS164 , SN74HCS164-Q1 , SN74HCS165 , SN74HCS165-Q1 , SN74HCS595 , SN74HCS595-Q1
The 164 function is an 8-bit parallel-out shift register. The serial data inputs are logically ANDed together to provide an easy method for disabling the register. If either A or B is in the LOW state, then the data input to the shift register is LOW, and each rising-edge clock input will load a LOW, irrespective of the state of the opposite input. To permanently enable the serial data input, either A or B can be tied directly to VCC, and the opposite input can be used as the serial data input.
When a rising edge is detected at the CLK input, the eight registers are loaded with the data value indicated by the arrows in Figure 1-1. To be clear, the result of A AND B is loaded into QA, while the value that was in QA is loaded into QB, the value that was in QB is loaded into QC, and so on. The last value, which was in QH, is shifted out, or, in other words, it is overwritten.
The 164 function comes with a dedicated asynchronous active-low clear pin (CLR) which allows forcing the internal register (and thus the output) values to zero. If this pin is held low during startup, the outputs will remain low as soon as the device is within the operating voltage range.
For normal functionality, eight bits of data are loaded into the serial data input one at a time with eight clock pulses. With each rising edge at the clock input, the outputs will change immediately to match the values inside the serial registers.
The output QH comes directly from the last internal shift register, which allows it to be used for daisy-chaining devices together.