Skip to main content
Open topic with navigation

canSetChannelMode

CAPL Functions » CAN » canSetChannelMode Valid for: CANoe DE • CANoe:lite DE

Note

Function Syntax

Description

Activates/deactivates the TXRQ and Tx of the CAN controller. This function does nothing with the Ack bit.

Parameters

  • channel: CAN channel
  • gtx:
    • 0: tx off
    • 1: tx on
  • gtxreq:
    • 0: gtxreq off
    • 1: gtxreq on

Return Values

  • 0: ok
  • !=0: error

Example

canSetChannelAcccanSetChannelOutput