![Intel Extensible Firmware Interface Specification Download Page 240](http://html1.mh-extra.com/html/intel/extensible-firmware-interface/extensible-firmware-interface_specification_2073117240.webp)
Extensible Firmware Interface Specification
222
12/12/00
Version 1.02
12.1.4 SERIAL_IO.GetControl()
Summary
Retrieves the status of the control bits on a serial device.
Prototype
EFI_STATUS
(EFIAPI *EFI_SERIAL_GET_CONTROL) (
IN SERIAL_IO_INTERFACE
*This,
OUT UINT32
*Control
);
Parameters
This
A pointer to the
SERIAL_IO_INTERFACE
instance. Type
SERIAL_IO_INTERFACE
is defined in Section 12.1.
Control
A pointer to return the current Control signals from the serial
device.
Related Definitions
//*******************************************************
// CONTROL BITS
//*******************************************************
#define EFI_SERIAL_CLEAR_TO_SEND
0x0010
#define EFI_SERIAL_DATA_SET_READY
0x0020
#define EFI_SERIAL_RING_INDICATE
0x0040
#define EFI_SERIAL_CARRIER_DETECT
0x0080
#define EFI_SERIAL_REQUEST_TO_SEND
0x0002
#define EFI_SERIAL_DATA_TERMINAL_READY
0x0001
#define EFI_SERIAL_INPUT_BUFFER_EMPTY
0x0100
#define EFI_SERIAL_OUTPUT_BUFFER_EMPTY
0x0200
#define EFI_SERIAL_HARDWARE_LOOPBACK_ENABLE
0x1000
#define EFI_SERIAL_SOFTWARE_LOOPBACK_ENABLE
0x2000
#define EFI_SERIAL_HARDWARE_FLOW_CONTROL_ENABLE
0x4000
Description
The
GetControl()
function retrieves the status of the control bits on a serial device.
Status Codes Returned
EFI_SUCCESS
The control bits were read from the serial device.
EFI_DEVICE_ERROR
The serial device is not functioning correctly.
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...