|
|
|
|
|
by analog31
1261 days ago
|
|
On the old terminals, the wire sits at one voltage level until a character is transmitted. After that, the bits are spaced out at agreed-upon time intervals. So the receiver detects the first transition, and then reads and stores the bits by applying the same timing, then waits for the next character. Meanwhile, the value of that character, say an 8-bit number, is stored in a register, and typically the processor is interrupted. This gives the processor time to deal with each character before the next one is received. Oddly enough I could have answered the OP's question in an interview, 40 years ago, but stuff has gotten so complex that I can't even tell you what all of the layers of abstraction are. |
|
https://en.wikipedia.org/wiki/8250_UART
Though the UART chip I used was years earlier than that. Perhaps the Wikipedia article is wrong on that point.