Skip to main content
Open topic with navigation CAPL Functions » LIN » linGetMeasByteBitRates

linGetMeasByteBitRates

Valid for: CANoe DE

Function Syntax

Description

This function calculates the bitrates for every byte which has been selected for edge time measurement. It uses the received data as well as the measured edge differences. Therefore, the function linMeasEdgeTimeDiffs must be called in advance. Note that for each measured byte a bitrate will be returned, although it might be 0 (this happens if there had been only one falling edge in the measured byte).

Parameters

  • arrSize: The size of the byteBitRates array.
  • byteBitRates: The array which will receive the measured byte bitrates. The unit of the measured bitrates is bits/second.

Return Values

Returns the number of bitrates copied into the byteBitRates-array.

Example

LinMeasEdgeTimeDiffs