a = ioctl(spi_device, SPI_IOC_MESSAGE(1), &k);

a = ioctl(spi_device, SPI_IOC_MESSAGE(1), &k);
 
ioctl 读一个结构体
    struct spi_ioc_transfer k;
 
 
posted @ 2021-11-12 22:04  xmydis  阅读(405)  评论(0)    收藏  举报