behavior with !PARENB and INPCK | IGNPAR

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



i'm trying to determine the expected behavior of a UART when PARENB is
turned off in c_cflag but INPCK and IGNPAR is enabled in c_iflag and
my googling / termios readings just lead me in vague directions

having PARENB turned off means that the UART should not be
transmitting with parity bits ... so you transmit 1 start bit, 8 bits
of data (CS8), and 1 stop bit

having INPCK and IGNPAR turned on means that the UART should be
receiving with parity bits ... so you receive 1 start bit, 8 bits of
data (CS8), 1 parity bit, and 1 stop bit

however, all the UARTs i look at dont have the ability to distinguish
between input and output parity settings ... parity is either enabled,
or it's disabled
-mike
-
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux