Skip to content

Add support for MODE_NO_CS to SPI devices #162

Open
@dbartussek

Description

@dbartussek

I am communicating with a device that needs a few milliseconds to register that CS has been asserted and must therefore manually control the CS pin.

In Python, this can be achieved with spidev by setting the no_cs member on an SpiDev instance to true and manually driving the CS pin.
I've now tried to port this code to Rust but found that the MODE_NO_CS flag exists as a constant, but it isn't exposed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions