Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SubdeviceBackend still relies on fixed int32_t raw data type and uses raw access for target accessors #202

Open
mhier opened this issue Feb 22, 2021 · 0 comments

Comments

@mhier
Copy link
Member

mhier commented Feb 22, 2021

The SubdeviceBackend obtains the accessors of the target device with the AccessMode::raw flag and a fixed int32_t data type. Instead, no raw flag should be specified and the data type should depend on raw type of the subdevice registers (i.e. ratio of the number of bytes and of the number of words from the subdevice map file).

It should not be necessary to use raw access for the accessors of the target device. Doing so will restrict the usage of the subdevice backed to target devices which support raw access.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant