Device driver for the NCV7356 Single Wire CAN Transceiver.
More...
Device driver for the NCV7356 Single Wire CAN Transceiver.
The NCV7356 is a physical layer device for a single wire data connection such as Bosch's Controller Area Network (CAN) protocol. The device is capable of transmissions of up to 100 kbps and operates in a voltage range of 5 to 27 V. All logic inputs are compatible with 3.3 V and 5 V supply systems. The pins MODE0 and MODE1 indicate the mode of the transceiver, with the transceiver being initially in sleep mode. An example application circuitry for the 8 pin package can be found at page 15 of https://www.onsemi.com/pub/Collateral/NCV7356-D.PDF.
|
file | ncv7356.h |
| ncv7356 generic CAN transceiver interface initialization
|
|
|
typedef struct ncv7356_trx | ncv7356_trx_t |
| ncv7356 trx descriptor
|
|
◆ ncv7356_trx_init()
Initialize the given ncv7356.
- Parameters
-
[in] | dev | Pointer to the ncv7356 descriptor |
- Returns
- 0 on success
-
-1 on error
◆ ncv7356_trx_set_mode()
Set mode interface.
- Parameters
-
[in] | dev | Pointer to the ncv7356 descriptor |
[in] | mode | mode to set |
- Returns
- 0 on success
-
-1 on error