drvinfo()

QNX SDP8.0SPI Framework TechnotesAPIConfiguration

Get the SPI driver information

Synopsis:

void (*drvinfo)( const void *const hdl,
              spi_drvinfo_t *info );

Arguments:

hdl
The handle of the low-level module that spi_init() returns.
info
A pointer to store the SPI driver information, spi_drvinfo_t info.
The definition of spi_drvinfo_t is:
typedef struct {
    uint32_t    version;
    char        name[SPI_DRVR_NAME_LEN];    /* Driver name */
    uint32_t    feature;
    uint32_t    verbosity;                  /* Driver verbosity level */
} spi_drvinfo_t;

Description:

The drvinfo() function gets driver information from the low-level module.

Errors:

The drvinfo() function returns VOID.

Page updated: