All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches

tja1042 High Speed CAN transceiver driver More...

Detailed Description

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.
 
int tja1042_trx_init (can_trx_t *dev)
 Initialize the given tja1042.
 

Variables

const trx_driver_t tja1042_driver
 tja1042 driver
 

Function Documentation

◆ tja1042_trx_init()

int tja1042_trx_init ( can_trx_t * dev)

Initialize the given tja1042.

Parameters
[in]devPointer to the tja1042 descriptor
Returns
0 on success
-1 on error

◆ tja1042_trx_set_mode()

int tja1042_trx_set_mode ( can_trx_t * dev,
can_trx_mode_t mode )

Set mode interface.

Parameters
[in]devPointer to the tja1042 descriptor
[in]modemode to set
Returns
0 on success
-1 on error