Skip to content

Is the MMIO derive limited to certain types? #10

Open
@jamesmunns

Description

@jamesmunns

Do you limit all the fields to be specific (integer?) types?

I know someone mentioned that using a field as bool and reading a value other than 0/1 would be UB, and using volatile ops on values larger than the atomic load width would probably be suspicious as well.

I'm also interested if/how you handle arrays!

It would probably be good to document what fields the derive does/doesn't work with.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions