EasyManua.ls Logo

Intel Extensible Firmware Interface - Serial_Io.setattributes()

Intel Extensible Firmware Interface
494 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Extensible Firmware Interface Specification
218 12/12/00 Version 1.02
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 *This,
IN UINT64 BaudRate,
IN UINT32 ReceiveFifoDepth,
IN UINT32 Timeout
IN EFI_PARITY_TYPE Parity,
IN UINT8 DataBits,
IN EFI_STOP_BITS_TYPE StopBits
);
Parameters
This A pointer to the SERIAL_IO_INTERFACE instance. Type
SERIAL_IO_INTERFACE is defined in Section 12.1.
BaudRate The requested baud rate. A BaudRate value of 0 will use the
devices default interface speed.
ReceiveFifoDepth The requested depth of the FIFO on the receive side of the serial
interface. A ReceiveFifoDepth value of 0 will use the
devices default FIFO depth.
Timeout The requested time out for a single character in microseconds.
This timeout applies to both the transmit and receive side of the
interface. A Timeout value of 0 will use the devices default
time out value.
Parity The type of parity to use on this serial device. A Parity value
of DefaultParity will use the devices default parity value.
Type EFI_PARITY_TYPE is defined in Section 12.1.
DataBits The number of data bits to use on this serial device. A
DataBits value of 0 will use the devices default data bit
setting.
StopBits The number of stop bits to use on this serial device. A
StopBits value of DefaultStopBits will use the devices
default number of stop bits. Type EFI_STOP_BITS_TYPE is
defined in Section 12.1.

Table of Contents

Related product manuals