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)
No external hardware used in my project.
# | Input | Output | Bidirectional |
---|---|---|---|
0 | IN0 | OUT0 | |
1 | IN1 | OUT1 | |
2 | IN2 | OUT2 | |
3 | IN3 | OUT3 | |
4 | IN4 | OUT4 | |
5 | IN5 | OUT5 | |
6 | IN6 | OUT6 | |
7 | IN7 | OUT7 |