tja1042 High Speed CAN transceiver driver
More...
tja1042 High Speed CAN transceiver driver
|
file | tja1042.h |
| tja1042 generic CAN transceiver interface initialization
|
|
|
typedef struct tja1042_trx | tja1042_trx_t |
| tja1042 CAN trx descriptor
|
|
◆ tja1042_trx_init()
Initialize the given tja1042.
- Parameters
-
[in] | dev | Pointer to the tja1042 descriptor |
- Returns
- 0 on success
-
-1 on error
◆ tja1042_trx_set_mode()
Set mode interface.
- Parameters
-
[in] | dev | Pointer to the tja1042 descriptor |
[in] | mode | mode to set |
- Returns
- 0 on success
-
-1 on error