Kvaser Linux CANLIB

CAN Driver Modes

Driver mode
Use canSetOutputControl() to set the bus driver mode. This is usually set to canDRIVER_NORMAL to obtain the standard push-pull type of driver. Some controllers also support canDRIVER_SILENT which makes the controller receive only, not transmit. This might be handy for e.g. automatic bit rate detection.

canDRIVER_NORMAL is the default, so your code doesn't have to set it explicitly.

Line mode
Certain CAN transceiver types support line modes. Most important, the low-speed transceivers (82c252/TJA1053/TJA1054 and so on) support sleep and suspend modes, and the single-wire CAN transceivers (AU5790 etc.) support a highspeed mode. Use canSetLineMode() to set the line mode.

Resnet mode
Certain rarely seen custom-specific transceivers also support a resnet mode. Use canSetLineMode() to set this mode.