CAN generic transceiver interface. More...
CAN generic transceiver interface.
Definition in file can_trx.h.
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 | |