опять же в доках Normal open() and close() operations on /dev/spidevB.D files work as you would expect. Standard read() and write() operations are obviously only half-duplex, and the chipselect is deactivated between those operations. Full-duplex access, and composite operation without chipselect de-activation, is available using the SPI_IOC_MESSAGE(N) request.
>Потому что вместо работы с одним-единственным файлом и сисвызовами read/write приходится работать с толпой файлов! а это уж на совести разрабочика, sysfs тут не причём
no subject
Normal open() and close() operations on /dev/spidevB.D files work as you would expect.
Standard read() and write() operations are obviously only half-duplex, and the chipselect is deactivated between those operations. Full-duplex access, and composite operation without chipselect de-activation, is available using the SPI_IOC_MESSAGE(N) request.
>Потому что вместо работы с одним-единственным файлом и сисвызовами read/write приходится работать с толпой файлов!
а это уж на совести разрабочика, sysfs тут не причём