tja1042 High Speed CAN transceiver driver More...
tja1042 High Speed CAN transceiver driver
Files | |
file | tja1042.h |
tja1042 generic CAN transceiver interface initialization | |
Data Structures | |
struct | tja1042_trx |
tja1042 CAN trx descriptor More... | |
Typedefs | |
typedef struct tja1042_trx | tja1042_trx_t |
tja1042 CAN trx descriptor | |
Functions | |
int | tja1042_trx_set_mode (can_trx_t *dev, can_trx_mode_t mode) |
Set mode interface. More... | |
int | tja1042_trx_init (can_trx_t *dev) |
Initialize the given tja1042. More... | |
Variables | |
const trx_driver_t | tja1042_driver |
tja1042 driver | |
int tja1042_trx_init | ( | can_trx_t * | dev | ) |
Initialize the given tja1042.
[in] | dev | Pointer to the tja1042 descriptor |
int tja1042_trx_set_mode | ( | can_trx_t * | dev, |
can_trx_mode_t | mode | ||
) |
Set mode interface.
[in] | dev | Pointer to the tja1042 descriptor |
[in] | mode | mode to set |