MdePkg[all]  1.08
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
_EFI_SERIAL_IO_PROTOCOL Struct Reference

Data Fields

UINT32 Revision
 
EFI_SERIAL_RESET Reset
 
EFI_SERIAL_SET_ATTRIBUTES SetAttributes
 
EFI_SERIAL_SET_CONTROL_BITS SetControl
 
EFI_SERIAL_GET_CONTROL_BITS GetControl
 
EFI_SERIAL_WRITE Write
 
EFI_SERIAL_READ Read
 
EFI_SERIAL_IO_MODEMode
 
CONST EFI_GUIDDeviceTypeGuid
 

Detailed Description

The Serial I/O protocol is used to communicate with UART-style serial devices. These can be standard UART serial ports in PC-AT systems, serial ports attached to a USB interface, or potentially any character-based I/O device.

Field Documentation

CONST EFI_GUID* _EFI_SERIAL_IO_PROTOCOL::DeviceTypeGuid

Pointer to a GUID identifying the device connected to the serial port. This field is NULL when the protocol is installed by the serial port driver and may be populated by a platform driver for a serial port with a known device attached. The field will remain NULL if there is no platform serial device identification information available.

EFI_SERIAL_GET_CONTROL_BITS _EFI_SERIAL_IO_PROTOCOL::GetControl
EFI_SERIAL_IO_MODE* _EFI_SERIAL_IO_PROTOCOL::Mode

Pointer to SERIAL_IO_MODE data.

EFI_SERIAL_READ _EFI_SERIAL_IO_PROTOCOL::Read
EFI_SERIAL_RESET _EFI_SERIAL_IO_PROTOCOL::Reset
UINT32 _EFI_SERIAL_IO_PROTOCOL::Revision

The revision to which the EFI_SERIAL_IO_PROTOCOL adheres. All future revisions must be backwards compatible. If a future version is not backwards compatible, it is not the same GUID.

EFI_SERIAL_SET_ATTRIBUTES _EFI_SERIAL_IO_PROTOCOL::SetAttributes
EFI_SERIAL_SET_CONTROL_BITS _EFI_SERIAL_IO_PROTOCOL::SetControl
EFI_SERIAL_WRITE _EFI_SERIAL_IO_PROTOCOL::Write