MdeModulePkg[all]  0.98
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialLineControl

Line Control Register (LCR) for the 16550 serial port. This encodes data bits, parity, and stop bits.


BIT1..BIT0 - Data bits. 00b = 5 bits, 01b = 6 bits, 10b = 7 bits, 11b = 8 bits<BR>
BIT2 - Stop Bits. 0 = 1 stop bit. 1 = 1.5 stop bits if 5 data bits selected, otherwise 2 stop bits.

BIT5..BIT3 - Parity. xx0b = No Parity, 001b = Odd Parity, 011b = Even Parity, 101b = Mark Parity, 111b=Stick Parity<BR>
BIT7..BIT6 - Reserved. Must be 0.

Default is No Parity, 8 Data Bits, 1 Stop Bit.

Serial port Line Control settings.
0x80000002 | (gEfiMdeModulePkgTokenSpaceGuid.PcdSerialLineControl & 0xC0) == 0

PCD Information

NameToken SpaceToken numberData TypeDefault Value
PcdSerialLineControlgEfiMdeModulePkgTokenSpaceGuid0x00020004UINT80x03