Skip to main content
Open topic with navigation

LINtp_DataInd

CAPL Functions » LIN » LINtp_DataInd

Function Syntax

  • void LINtp_DataInd(long count); // form 1
  • void LINtp_DataInd(long count, dword NAD); // form 2

Description

Callback indicates the reception of data. In a Slave node, the NAD indicates the address of the destination node or 0x7E if data was sent to a functional group; in a Master, the address of the sending slave. Use LINtp_GetRxData to retrieve the data.

Parameters

  • count: Number of bytes received.
  • NAD: Node address of the slave node that is the sender (if called in the master node) or receiver of the data (if called in a slave node).

Return Values

Example