tech-kern archive

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

Re: A simpler tty driver model



On Sat, Jul 27, 2013 at 11:52:20PM -0700, Matt Thomas wrote:
 
> I have several SoC targets that I've stalled on due to the need of writing

> contains the char width, stop bits, speed, partity (even, odd, none)
> speed is in the low 24 bits and everything else in the top 8.
> if the top 8 bits are 0, that will mean 8 bit, 1 stop, no parity.
> bits 24:25 is char size (8-[25:24]), 27:26 stop bits (1 + [27:26]/2)
> bits 31:30 are parity (3 = odd, 2 = even, 0 = none).

What about mark/space ?

        -is

-- 
seal your e-mail: http://www.gnupg.org/

Attachment: pgpeS83B_ok9o.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index