PEP_ACPI_INITIALIZE_SPB_UART_RESOURCE function (pepfx.h)

The PEP_ACPI_INITIALIZE_SPB_UART_RESOURCE function initializes a platform extension plug-in's (PEP) PEP_ACPI_SPB_UART_RESOURCE structure.

Syntax

void PEP_ACPI_INITIALIZE_SPB_UART_RESOURCE(
  [in]  ULONG              BaudRate,
  [in]  UCHAR              BitsPerByte,
  [in]  UCHAR              StopBits,
  [in]  UCHAR              LinesInUse,
  [in]  UCHAR              IsBigEndian,
  [in]  UCHAR              Parity,
  [in]  UCHAR              FlowControl,
  [in]  USHORT             RxSize,
  [in]  USHORT             TxSize,
  [in]  PUNICODE_STRING    ResourceSource,
  [in]  UCHAR              ResourceSourceIndex,
  [in]  BOOLEAN            ResourceUsage,
  [in]  BOOLEAN            SharedMode,
  [in]  PCHAR              VendorData,
  [in]  USHORT             VendorDataLength,
  [out] PPEP_ACPI_RESOURCE Resource
);

Parameters

[in] BaudRate

Specifies the baud rate of the connection.

[in] BitsPerByte

Specifies the number of bits per byte of data.

[in] StopBits

Specifies the stop bits used in the connection.

[in] LinesInUse

Flag indicating the serial lines that are enabled. A value of 1 in the bit positions indicates that the line is enabled.

Bit Meaning
0
This bit is reserved and must be set to zero.
1
This bit is reserved and must be set to zero.
2
Data Carrier Detect (DTD)
3
Ring Indicator (RI)
4
Data Set Ready (DSR)
5
Data Terminal Ready (DTR)
6
Clear to Send (CTS)
7
Request to Send (RTS)

[in] IsBigEndian

Indicates if the most significant bits of data are in the lowest address.

[in] Parity

Specifies the parity of the connection.

Value Meaning
0x00
None
0x01
Even
0x02
Odd
0x03
Mark
0x04
Space

[in] FlowControl

Specifies the type of flow control used by the connection.

[in] RxSize

Specifies the maximum receive buffer size, in bytes, that is supported by this connection.

[in] TxSize

Specifies the maximum transmit buffer size, in bytes, that is supported by this connection.

[in] ResourceSource

The name of the serial bus controller device to which this connection descriptor applies. The name can be a fully qualified path, a relative path, or a simple name segment that utilizes the namespace search rules.

[in] ResourceSourceIndex

This parameter should always be zero.

[in] ResourceUsage

Indicates if this resource is in use.

[in] SharedMode

Indicates if this resource is shared.

[in] VendorData

A pointer to optional data that is specific to the serial bus connection type.

[in] VendorDataLength

The length of the buffer pointed to by the VendorData parameter.

[out] Resource

A pointer to the resource. The structure behind the pointer is of type PEP_ACPI_SPB_UART_RESOURCE.

Return value

None

Requirements

Requirement Value
Minimum supported client Supported starting with Windows 10.
Target Platform Windows
Header pepfx.h (include Pep_x.h)

See also

PEP_ACPI_SPB_UART_RESOURCE