Thank you for the answer.The first transistor confused me because I thought that both base and collector can only receive V, but here they are opposed.The transistor on the right is already an inverting amplifier, i.e. a NOT gate.
The transistor on the left increases the overall gain.
When A is logic-HI, the base resistor turns on the second transistor giving a LOW output.
When A is logic-LOW, the first transistor is turned ON, pulling the base of the second transistor to GND, giving a HIGH output.
In theory, the emitter and collector of a BJT are interchangeable. In practice, the geometry and doping profiles mean that the characteristics are very different -- but if you swap them it IS still an NPN transistor, just not a very good one. This circuit exploits this behavior.Thank you for the answer.The first transistor confused me because I thought that both base and collector can only receive V, but here they are opposed.
