Loading...
Searching...
No Matches

CAN generic transceiver interface. More...

Detailed Description

CAN generic transceiver interface.

Author
Aurelien Gonce aurel.nosp@m.ien..nosp@m.gonce.nosp@m.@alt.nosp@m.ran.c.nosp@m.om
Vincent Dupont vince.nosp@m.nt@o.nosp@m.takey.nosp@m.s.co.nosp@m.m

Definition in file can_trx.h.

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  can_trx
 Generic transceiver descriptor. More...
 
struct  trx_driver
 Generic transceiver driver. More...
 

Typedefs

typedef struct trx_driver trx_driver_t
 forward declaration of trx_driver
 
typedef struct can_trx can_trx_t
 Generic transceiver descriptor.
 

Enumerations

enum  can_trx_mode_t {
  TRX_NORMAL_MODE = 0 , TRX_SILENT_MODE , TRX_SLEEP_MODE , TRX_HIGH_SPEED_MODE ,
  TRX_HIGH_VOLTAGE_WAKE_UP_MODE
}
 trx transceiver mode More...
 

Functions

int can_trx_init (can_trx_t *dev)
 initialize a transceiver
 
int can_trx_set_mode (can_trx_t *dev, can_trx_mode_t mode)
 transceiver set mode