Kvaser CanKing GUI Extensions SDK - v7.5.1
    Preparing search index...

    Interface CanChannelConfiguration

    A message for defining a CAN channel's configuration.

    When using CAN FD or CAN XL, both arbitration and data phase bus parameters must be specified. For CAN XL, both CAN FD and CAN XL data phase parameters must be specified. Specify either only the bit rate or both the bit rate and the sample point or only the bus parameters for each phase. If the bus parameters are specified, the bit rate and sample point values are ignored (will be calculated automatically). If only the bit rate is specified, the sample point will be set to a default value of 75% for classic CAN and 80% for CAN FD and CAN XL

    interface CanChannelConfiguration {
        accessMode: AccessMode;
        busParams: CanBusParams | undefined;
        busParamsBitRate: number;
        busParamsBitRateFd?: number;
        busParamsBitRateXl?: number;
        busParamsFd?: CanBusParams;
        busParamsSamplePoint?: number;
        busParamsSamplePointFd?: number;
        busParamsSamplePointXl?: number;
        busParamsXl?: CanBusParams;
        canConfigModes: CanConfigMode[];
        canMode: CanMode;
        fdTdc?: TdcConfiguration;
        pwml?: number;
        pwmo?: number;
        pwms?: number;
        silentMode: boolean;
        xlTdc?: TdcConfiguration;
    }
    Index

    Properties

    accessMode: AccessMode

    The access mode to use.

    busParams: CanBusParams | undefined

    The selected bus params for classic CAN or the selected bus params for the arbitration phase in CAN FD/CAN XL.

    busParamsBitRate: number

    Bit rate of the selected bus params for classic CAN or the selected bus params for the arbitration phase in CAN FD/CAN XL.

    busParamsBitRateFd?: number

    Bit rate of the selected bus params for the data phase in CAN FD.

    busParamsBitRateXl?: number

    Bit rate of the selected bus params for the data phase in CAN XL.

    busParamsFd?: CanBusParams

    The selected bus params for the data phase in CAN FD.

    busParamsSamplePoint?: number

    Sample point in percentage of the selected bus params for classic CAN or the selected bus params for the arbitration phase in CAN FD/CAN XL.

    busParamsSamplePointFd?: number

    Sample point in percentage of the selected bus params for the data phase in CAN FD.

    busParamsSamplePointXl?: number

    Sample point in percentage of the selected bus params for the data phase in CAN XL.

    busParamsXl?: CanBusParams

    The selected bus params for the data phase in CAN XL.

    canConfigModes: CanConfigMode[]

    The CAN configuration mode to use.

    canMode: CanMode

    The CAN mode to use.

    CAN FD Transmitter-Delay Compensation (TDC).

    pwml?: number

    PWM long phase (mtq).

    pwmo?: number

    PWM time offset (mtq).

    pwms?: number

    PWM short phase (mtq).

    silentMode: boolean

    Set to true to enable silent mode, otherwise the channel will be setup as normal.

    CAN XL Transmitter-Delay Compensation (TDC).