]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/SerialIo.h
Code have been checked with spec
[mirror_edk2.git] / MdePkg / Include / Protocol / SerialIo.h
index f057cffea08d9b1764d98fd466c6f691cd5ddc59..32415ca144fea751f152a9aed138ce5ee7085d6a 100644 (file)
@@ -37,7 +37,8 @@ typedef struct _EFI_SERIAL_IO_PROTOCOL EFI_SERIAL_IO_PROTOCOL;
 typedef EFI_SERIAL_IO_PROTOCOL  SERIAL_IO_INTERFACE;\r
 \r
 ///\r
-/// Serial IO Data structures\r
+/// Parity type that is computed or checked as each character is transmitted or received. If the\r
+/// device does not support parity, the value is the default parity value.\r
 ///\r
 typedef enum {\r
   DefaultParity,\r
@@ -48,6 +49,9 @@ typedef enum {
   SpaceParity\r
 } EFI_PARITY_TYPE;\r
 \r
+///\r
+/// Stop bits type\r
+///\r
 typedef enum {\r
   DefaultStopBits,\r
   OneStopBit,\r
@@ -266,12 +270,11 @@ typedef struct {
 #define EFI_SERIAL_IO_PROTOCOL_REVISION    0x00010000\r
 #define SERIAL_IO_INTERFACE_REVISION  EFI_SERIAL_IO_PROTOCOL_REVISION\r
 \r
-/**  \r
-  @par Protocol Description:\r
-  The Serial I/O protocol is used to communicate with UART-style serial devices. \r
-  These can be standard UART serial ports in PC-AT systems, serial ports attached \r
-  to a USB interface, or potentially any character-based I/O device.\r
-**/\r
+///\r
+/// The Serial I/O protocol is used to communicate with UART-style serial devices. \r
+/// These can be standard UART serial ports in PC-AT systems, serial ports attached \r
+/// to a USB interface, or potentially any character-based I/O device.\r
+///\r
 struct _EFI_SERIAL_IO_PROTOCOL {\r
   ///\r
   /// The revision to which the EFI_SERIAL_IO_PROTOCOL adheres. All future revisions \r
@@ -285,7 +288,9 @@ struct _EFI_SERIAL_IO_PROTOCOL {
   EFI_SERIAL_GET_CONTROL_BITS GetControl;\r
   EFI_SERIAL_WRITE            Write;\r
   EFI_SERIAL_READ             Read;\r
-\r
+  ///\r
+  /// Pointer to SERIAL_IO_MODE data.\r
+  ///\r
   EFI_SERIAL_IO_MODE          *Mode;\r
 };\r
 \r