The purpose of the ring counter in the keyboard encoding circuit is:
(a) to sequentially apply a HIGH to each row for detection of key closure
(b) to provide trigger pulses for the key code register