Share via


OAL_KITLSERIAL_RECV (Compact 2013)

10/16/2014

This function pointer reads data from the KITL serial device.

Syntax

typedef UINT16 (*OAL_KITLSERIAL_RECV)(
  UINT8 *pData,
  UINT16 size
);

Parameters

  • pData
    [out] Pointer to the packet data read from the KITL serial device.
  • size
    [in] Best size of the data to read from the serial device, in bytes.

Return Value

Returns the number of bytes read.

Remarks

The pfnRecv member of the OAL_KITL_SERIAL_DRIVER structure points to the custom function that implements OAL_KITLSERIAL_RECV.

Requirements

Header

oal_kitl.h

Library

Developer Implemented

See Also

Reference

KITL Functions for Serial Drivers
KITL Functions for Production-Quality OAL