CAN generic transceiver interface.
More...
CAN generic transceiver interface.
|
file | can_trx.h |
| CAN generic transceiver interface.
|
|
|
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 More...
|
|
◆ trx_driver_t
◆ can_trx_mode_t
trx transceiver mode
Definition at line 31 of file can_trx.h.
◆ can_trx_init()
initialize a transceiver
- Parameters
-
[in] | dev | Transceiver to initialize |
- Returns
- 0 on success
-
< 0 on error
◆ can_trx_set_mode()
transceiver set mode
- Parameters
-
[in] | dev | Transceiver to set |
[in] | mode | Mode to set |
- Returns
- 0 on success
-
< 0 on error