| ||||
|
Look RS232
Download Order Support Testimonials FAQ Online help Modem Programming Serial port RS232 Hardware
Interface RS232C
ProgrammingHistory RS232C Likely problems Hardware
Hardware Properties
Interfacing devicesBit Rates DTE/DCE Speeds Flow control The UART Types of UARTs Null modems Loop Back Plug Registers |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
The Line Control register sets the general connection parameters. Bits 0 and 1 define the word length (number of data bits). Legitimate values are given in the table. 8 bit length is usually used today. Bit 2 sets the length of the stop bits. Setting this bit into '0' provides length setting equal to 1 bit, if the bit is set into '1', the length of stop bits is 2 (if the length of data bits is 6,7 or 8 bits) or 1.5 bits (if the length of data bits is 6,7 or 8 bits). Bits 3, 4 and 5 define parity mode. When defining these 3 bits you can set any parity mode. If the third bit is '0', there is no parity check, if this bit is set to '1', parity check is carried out, and the check mode depends on the values set in bits 4 and 5. Possible variants are given in the table. Bit 6 sets break enable. When active, the TD line goes into "Spacing" state which causes a break in the receiving UART. Setting this bit to '0' disables the Break. Bit 7 is the Divisor Latch Access Bit (DLAB). We have already mentioned this bit.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Contact us © fCoder SIA |