CL2.BUSSTATE (ENUM)

 

(CAA_CanL2.library)

This data type describes the current state of the CAN network.

UNKNOWN

0

The state of the network is not known. Its functionality is not implemented.

ERR_FREE

1

No occurrence of CAN bus errors so far. The error counters of the chip are zero.

ACTIVE

2

Only few CAN bus errors so far. The error counters of the chip are below the warning level.

WARNING

3

Occurrence of some CAN bus errors. The error counters are above the warning level.

PASSIVE

4

Too many CAN bus errors. The error counters are above the error level.

BUSOFF

5

The node has been separated from the CAN bus. The error counter has exceeded the admissible maximum.