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

Add methods to set and get the scratch register #30

Merged
merged 7 commits into from
Jul 11, 2024
Merged

Conversation

EngJay
Copy link
Owner

@EngJay EngJay commented Jul 10, 2024

Summary

No API methods for setting and getting the scratch register.

A setter and getter has been added for the scratch register.

A test for get_device_id method has been added, as well, and doc comment have been added for all methods.

Details

These methods follow the same simple patterns as the initial methods for reading the version and device ID.

Testing

Basic off-target and HIL tests have been added to cover the setter and getter.

Checklist

  • I have added or updated doc comments for my code changes.
  • I have added or updated comments to difficult-to-understand code.
  • I have made corresponding changes to the documentation.
  • My changes generate no new warnings or errors.

@EngJay EngJay self-assigned this Jul 10, 2024
@EngJay EngJay merged commit 0adce0a into main Jul 11, 2024
4 checks passed
@EngJay EngJay deleted the 9-api-scratch-register branch July 11, 2024 02:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

api: r/w scratch register
1 participant