Skip to content

Allow use of DataSize of 16 bits #35

@marco-silva0000

Description

@marco-silva0000

I'm trying to use this library for an embeded project with an LCD that uses an SPI with 16 bits of data as DataSize. I can create the SPI correctly width let spi = Spi::<_, _, 16>::new(pac.SPI1); (note the 16 there) but then I get some issues because it doesn't implement write 8 like this library requires.

I don't think there's a way to allow 16 bit datasize currently so this would be an extension, I can play with hacking away at an implementation but I don't think I can do it neatly without a bunch of code duplication.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions