Partager via


KITL_SERIAL_INFO (Windows Embedded CE 6.0)

1/5/2010

This structure is passed to the KITL serial driver for initialization.

Syntax

typedef struct {
  UINT8* pAddress;
  UINT32 baudRate;
  UINT32 dataBits;
  UINT32 stopBits;
  UINT32 parity;
  UINT32 bestSize;
} KITL_SERIAL_INFO;

Members

  • pAddress
    Base address of the hardware.
  • baudRate
    Defines the baud rate for KITL serial communications.
  • dataBits
    Data bits for KITL serial communications.
  • stopBits
    Stop bits for KITL serial communications.
  • parity
    Parity bit setting that is used for error checking for KITL serial communications.
  • bestSize
    Best size to send and receive data, in bytes. During initialization, the serial driver sets the bestSize member. The KITL framework uses this parameter when it sends data to the driver. For example, the USB serial driver can set the bestSize parameter to 64 and the KITL framework calls or sends a size request of 64, not including the last packet.

Remarks

During initialization, the serial driver sets the bestSize member.

Requirements

Header oal_kitl.h
Library Developer Implemented
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

KITL Structures for Production-Quality OAL