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

linBits2Time_ns

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

Description

Converts specified bit time to an absolute time. The absolute time is calculated using the current baudrate on the channel determined by the CAPL program context.

Parameters

  • bitTimes: Time in bits.
  • channel: Channel number, whose baudrate will be used.

Return Values

Absolute time in ns.

Example

Convert header bit time of a LIN frame to ns
linTime2Bits_ns