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
device’s 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
device’s 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 device’s default
time out value.
Parity
The type of parity to use on this serial device. A
Parity
value
of
DefaultParity
will use the device’s 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 device’s default data bit
setting.
StopBits
The number of stop bits to use on this serial device. A
StopBits
value of
DefaultStopBits
will use the device’s
default number of stop bits. Type
EFI_STOP_BITS_TYPE
is
defined in Section 12.1.
Summary of Contents for Extensible Firmware Interface
Page 1: ...Extensible Firmware Interface Specification Version 1 02 December 12 2000...
Page 4: ...Extensible Firmware Interface Specification iv 12 12 00 Version 1 02...
Page 42: ...Extensible Firmware Interface Specification 24 12 01 00 Version 1 02...
Page 190: ...Extensible Firmware Interface Specification 172 12 12 00 Version 1 02...
Page 200: ...Extensible Firmware Interface Specification 182 12 12 00 Version 1 02...
Page 226: ...Extensible Firmware Interface Specification 208 12 12 00 Version 1 02...
Page 230: ...Extensible Firmware Interface Specification 212 12 12 00 Version 1 02...
Page 252: ...Extensible Firmware Interface Specification 234 12 12 00 Version 1 02...
Page 294: ...Extensible Firmware Interface Specification 276 12 12 00 Version 1 02...
Page 348: ...Extensible Firmware Interface Specification 330 12 01 00 Version 1 01...
Page 350: ...Extensible Firmware Interface Specification 332 12 12 00 Version 1 02...
Page 354: ...Extensible Firmware Interface Specification 336 12 12 00 Version 1 02...
Page 362: ...Extensible Firmware Interface Specification 344 12 12 00 Version 1 02...
Page 486: ...Extensible Firmware Interface Specification 468 12 12 00 Version 1 02...
Page 494: ...Extensible Firmware Interface Specification 476 12 12 00 Version 1 02...