If sel
is high, then a counter is output on the output pins and the bidirectional pins (data_o = counter_o = counter
).
If sel
is low, the bidirectional pins are mirrored to the output pins (data_o
= data_i
).
Set sel
high and observe that the counter is output on the output pins (data_o
) and the bidirectional pins (counter_o
).
Set sel
low and observe that the bidirectional pins are mirrored to the output pins (data_o
= data_i
).
# | Input | Output | Bidirectional |
---|---|---|---|
0 | sel | data_o[0] | data_i[0] / counter_o[0] |
1 | data_o[1] | data_i[1] / counter_o[1] | |
2 | data_o[2] | data_i[2] / counter_o[2] | |
3 | data_o[3] | data_i[3] / counter_o[3] | |
4 | data_o[4] | data_i[4] / counter_o[4] | |
5 | data_o[5] | data_i[5] / counter_o[5] | |
6 | data_o[6] | data_i[6] / counter_o[6] | |
7 | data_o[7] | data_i[7] / counter_o[7] |