Extensible Firmware Interface Specification
12.1.2 SERIAL_IO.SetAttributes()
Summary
Sets the baud rate, receive FIFO depth, transmit/receive time out, parity, data bits, and stop bits on a
serial device.
EFI_STATUS
(EFIAPI *EFI_SERIAL_SET_ATTRIBUTES) (
IN SERIAL_IO_INTERFACE
IN UINT64
IN UINT32
IN UINT32
IN EFI_PARITY_TYPE
IN UINT8
IN EFI_STOP_BITS_TYPE
);
Parameters
This
BaudRate
ReceiveFifoDepth
Timeout
Parity
DataBits
StopBits
218
*This,
BaudRate,
ReceiveFifoDepth,
Timeout
Parity,
DataBits,
StopBits
A pointer to the
SERIAL_IO_INTERFACE
SERIAL_IO_INTERFACE
The requested baud rate. A
device's default interface speed.
The requested depth of the FIFO on the receive side of the serial
interface. A
ReceiveFifoDepth
device's default FIFO depth.
The requested time out for a single character in microseconds.
This timeout applies to both the transmit and receive side of the
interface. A
value of 0 will use the device's default
Timeout
time out value.
The type of parity to use on this serial device. A
of
will use the device's default parity value.
DefaultParity
Type
EFI_PARITY_TYPE
The number of data bits to use on this serial device. A
value of 0 will use the device's default data bit
DataBits
setting.
The number of stop bits to use on this serial device. A
value of
StopBits
DefaultStopBits
default number of stop bits. Type
defined in Section 12.1.
12/12/00
instance. Type
is defined in Section 12.1.
value of 0 will use the
BaudRate
value of 0 will use the
Parity
is defined in Section 12.1.
will use the device's
EFI_STOP_BITS_TYPE
Version 1.02
value
is
Need help?
Do you have a question about the Extensible Firmware Interface and is the answer not in the manual?