Compartir a través de


KITL_SERIAL_INFO (Compact 2013)

10/16/2014

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

See Also

Reference

KITL Structures for Production-Quality OAL