12c) PC7
To me, again it feels like the designers had taken the layout from "10) PA0",
cut it into two parts, and crammed some ciruitry in between...
but fortunately less circuitry than we had in PC0..4.
In mode 0, PC7 behaves pretty much like PA0.
In mode 1, things are different:
PC7 data write register and PC7 direction register are ignored.
The PC7 output driver can't switch to VCC,
making PC7 an "open collector" output.
Means you would have to add an external pullup resistor to VCC.
Signal PCQ7 is generated by "9) CB, Port C handshake logic".
If PCQ7 is low, the output driver pulls PC7 to GND,
and that's all there is to it.
PC7 becomes the CB handshake output signal.
Note, that a Port C data read gives back what's on the PC7 pin.
;---
12b) PC6
The layout for the PC6 I\O logic isn't much different from what we had in PC7,
except that the designers had placed some inverters and pullups related to the
Port C control signals right in the middle of it... because it didn't fit elsewhere on the chip.
In mode 1: PC6 is "open collector output", external pullup resistor to VCC required.
Signal PCQ6 is generated by "8) CA, Port A handshake logic",
and if PCQ6 is low, the output driver pulls PC6 to low.
PC6 becomes the CA handshake output signal.
Note, that a Port C data read gives back what's on the PC6 pin.
;---
12a) PC5
The layout for the PC5 I\O logic isn't much different from what we had in PC7,
except that the designers again had placed some inverters and pullups related to Port C
right in the middle of it... because it didn't fit elsewhere on the chip.
In mode 1: PC5 is "open collector output", external pullup resistor to VCC required.
Signal PCQ5 is generated by the IRQ RS flipflop in "18) IRQ logic",
and if PCQ5 is low, the output driver pulls PC5 to low.
PC5 becomes the low_active IRQ# output.
Note, that a Port C data read gives back what's on the PC5 pin.
Attachment:
si6525_12_pc7.png [ 123.02 KiB | Viewed 942 times ]
Attachment:
si6525_pc56.png [ 78.23 KiB | Viewed 942 times ]
Attachment:
6525_12_pc567.png [ 408.07 KiB | Viewed 942 times ]