CANFD_SETTINGS Structure

This structure defines settings for CANFD networks on supporting neoVI and ValueCAN devices.

typedef struct __declspec (align(2))
    unsigned char FDMode;
    unsigned char FDBaudrate;
    unsigned char FDTqSeg1;
    unsigned char FDTqSeg2;
    unsigned char FDTqProp;
    unsigned char FDTqSync;
    unsigned short FDBRP;
    unsigned char FDTDC;
    unsigned char reserved;
}CANFD_SETTINGS;

Remarks

ItemDescription

FDMode

Sets the CANFD Mode in the device. Table below lists the options.

Mode

Value

NO_CANFD

0

CANFD_ENABLED

1

CANFD_BRS_ENABLED

2

CANFD_ENABLED_ISO

3

CANFD_BRS_ENABLED_ISO

4

FDBaudrate

Bit rate to use. The value is enumerated from a commonly used list of rates. The table below lists the rates

Rate

Value

20000

0

33333

1

50000

2

62500

3

83333

4

100000

5

125000

6

250000

7

500000

8

800000

9

1000000

10

666000

11

2000000

12

4000000

13

5000000

14

6667000

15

8000000

16

10000000

17

FDTqSeg1

Phase segment 1 value

FDTqSeg2

Phase segment 2 value

FDTqProp

Propagation delay

FDTqSync

Syncro jump width

FDBRP

Baud Rate Presale

FDTDC

Transceiver delay compensation

reserved

Reserved, set to 0

Last updated