Hi, everyone

I'm trying to write data to SPI device.
The datasheet of my SPI device requires that
SPI data should be 22 bits.

But, if I send data with "write(fd, buffer, 3)"
the bit of data sent would be 24bits.
It does not fit to me.

How I can send data only 22bits to SPI device?

Thanks in advance.

Best Regards,
J.Hwan Kim

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to