Intel Extensible Firmware Interface Network Router User Manual


  Open as PDF
of 1084
 
Protocols Console Support
Version 1.10 12/01/02 10-59
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 10.12.
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 Related Definitions
in Section 10.12.
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 Related Definitions in Section 10.12.