CAN generic transceiver interface. More...
CAN generic transceiver interface.
Modules | |
NCV7356 Single Wire CAN Transceiver | |
Device driver for the NCV7356 Single Wire CAN Transceiver. | |
TJA1042 | |
tja1042 High Speed CAN transceiver driver | |
Files | |
file | can_trx.h |
CAN generic transceiver interface. | |
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 | |
Functions | |
int | can_trx_init (can_trx_t *dev) |
initialize a transceiver More... | |
int | can_trx_set_mode (can_trx_t *dev, can_trx_mode_t mode) |
transceiver set mode More... | |
int can_trx_init | ( | can_trx_t * | dev | ) |
initialize a transceiver
[in] | dev | Transceiver to initialize |
int can_trx_set_mode | ( | can_trx_t * | dev, |
can_trx_mode_t | mode | ||
) |
transceiver set mode
[in] | dev | Transceiver to set |
[in] | mode | Mode to set |