Documentation Index
Fetch the complete documentation index at: https://notevil.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
canFdGetConfiguration, canFdSetConfiguration
Valid for: CANoe DE • CANoe:lite DEFunction Syntax
Description
The CAN controller parameters for arbitration and data phase can be set or read.canFdSetConfiguration performs an automatic reset of the CAN controller.
Parameters
- Channel: The CAN channel.
-
struct canSettings:
float baudrate: in bit/sunsigned char tseg1, tseg2: length of the time segments 1 and 2 in time quantaunsigned char sjw: sync jump width in time quantaunsigned char sam: number of sampling points (1 or 3). Only valid for CAN. For CAN FD “sam” is hard coded to 1.unsigned int flags: see description below
Flags for canFdGetConfiguration:
-
Bit Position 0, 1:
- 0: unknown transceiver
- 1: Low speed
- 2: Single wire
- 3: High speed
-
Bit Position 8:
- 0x100: The channel is configured for CAN FD
- All others: Reserved
Flags for canFdSetConfiguration:
-
Bit Position 0:
- 0: normal mode
- 1: silent mode (acknowledge not created)
- All others: Reserved, and must be 0.
Return Values
- 1: success
- 0: error