Loading...
Searching...
No Matches

Device driver for the NCV7356 Single Wire CAN Transceiver. More...

Detailed Description

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.

Files

file  ncv7356.h
 ncv7356 generic CAN transceiver interface initialization
 

Data Structures

struct  ncv7356_trx
 ncv7356 trx descriptor More...
 

Typedefs

typedef struct ncv7356_trx ncv7356_trx_t
 ncv7356 trx descriptor
 

Functions

int ncv7356_trx_set_mode (can_trx_t *dev, can_trx_mode_t mode)
 Set mode interface.
 
int ncv7356_trx_init (can_trx_t *dev)
 Initialize the given ncv7356.
 

Variables

const trx_driver_t ncv7356_driver
 ncv7356 driver
 

Function Documentation

◆ ncv7356_trx_init()

int ncv7356_trx_init ( can_trx_t dev)

Initialize the given ncv7356.

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

◆ ncv7356_trx_set_mode()

int ncv7356_trx_set_mode ( can_trx_t dev,
can_trx_mode_t  mode 
)

Set mode interface.

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