Loading...
Searching...
No Matches

Generic transceiver driver. More...

Detailed Description

Generic transceiver driver.

Definition at line 56 of file can_trx.h.

#include <can_trx.h>

Data Fields

int(* init )(can_trx_t *dev)
 initialize the trx device
 
int(* set_mode )(can_trx_t *dev, can_trx_mode_t mode)
 set mode interface
 

Field Documentation

◆ init

int(* trx_driver::init) (can_trx_t *dev)

initialize the trx device

Parameters
[in]devTransceiver to initialize
Returns
0 on success
< 0 on error

Definition at line 65 of file can_trx.h.

◆ set_mode

int(* trx_driver::set_mode) (can_trx_t *dev, can_trx_mode_t mode)

set mode interface

Parameters
[in]devTransceiver to set
[in]modeMode to set
Returns
0 on success
< 0 on error

Definition at line 76 of file can_trx.h.


The documentation for this struct was generated from the following file: