Compartir a través de


OAL_KITLSERIAL_SEND (Compact 2013)

10/16/2014

This function pointer sends data to the KITL serial device.

Syntax

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

Parameters

  • pData
    [in] Pointer to the data to send to the serial device driver.
  • size
    [in] Size of the data specified in pData, in bytes.

Return Value

Returns 0 on success. If any other value is returned, the function call failed.

Remarks

The pfnSend member of the OAL_KITL_SERIAL_DRIVER structure points to the custom function that implements OAL_KITLSERIAL_SEND.

Requirements

Header

oal_kitl.h

Library

Developer Implemented

See Also

Reference

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