"iterate over bits on one pin"? What the heck does that mean? A pin might conceivably represent one bit.