/* c_cflag bit meaning */ #define CBAUD 0x0000100f #define CSIZE 0x00000030 #define CS5 0x00000000 #define CS6 0x00000010 #define CS7 0x00000020 #define CS8 0x00000030 #define CSTOPB 0x00000040 #define CREAD 0x00000080 #define PARENB 0x00000100 #define PARODD 0x00000200 #define HUPCL 0x00000400 #define CLOCAL 0x00000800 #define CBAUDEX 0x00001000 /* We'll never see these speeds with the Zilogs, but for completeness... */ #define BOTHER 0x00001000 #define B57600 0x00001001 #define B115200 0x00001002 #define B230400 0x00001003 #define B460800 0x00001004 /* This is what we can do with the Zilogs. */ #define B76800 0x00001005 /* This is what we can do with the SAB82532. */ #define B153600 0x00001006 #define B307200 0x00001007 #define B614400 0x00001008 #define B921600 0x00001009 /* And these are the rest... */ #define B500000 0x0000100a #define B576000 0x0000100b #define B1000000 0x0000100c #define B1152000 0x0000100d #define B1500000 0x0000100e #define B2000000 0x0000100f /* These have totally bogus values and nobody uses them so far. Later on we'd have to use say 0x10000x and adjust CBAUD constant and drivers accordingly. #define B2500000 0x00001010 #define B3000000 0x00001011 #define B3500000 0x00001012
#define B4000000 0x00001013 */ #define CIBAUD 0x100f0000 /* input baud rate (not used) */
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.