The devctl() commands that apply to the Serial Perphiral Interface framework have cover functions:
| Command | Cover function |
|---|---|
| DCMD_SPI_GET_DEVINFO | spi_getdevinfo() |
| DCMD_SPI_GET_DRVINFO | spi_getdrvinfo() |
| DCMD_SPI_SET_CONFIG | spi_setcfg() |
For more information, see the SPI (Serial Peripheral Interface) Framework technote.