Repository navigation
Modified the res() function - #25
Merged
Zlin526F merged 2 commits intoOct 30, 2026
Merged
Conversation
|
Member
|
Wenn man von einem Register den Resetwert haben will, bei denen aber nicht alle Bits definiert sind, oder bei denen Bits keinen Resetwert haben, also auf 'x' liegen bekommt man die Ausgabe 'Reset value not defined' für das ganze Register. EinBeispiel ist das self.regs.NVPROGM.res(). Wir sollten in diesem Fall einen string zurückgeben, z.Bsp '0bxx00xxx000001' |
Zlin526F
deleted the
24-the-reset-function-of-a-register-does-not-work-properly
branch
October 30, 2026 10:27
Speedy939
restored the
24-the-reset-function-of-a-register-does-not-work-properly
branch
October 30, 2026 10:28
Zlin526F
deleted the
24-the-reset-function-of-a-register-does-not-work-properly
branch
October 30, 2026 10:30
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When a reset value of a register, lets say self.regs.ROM_COS1.res() is read, instead of returning its original reset value, it returns only the 8 LSB, neglecting the 8 MSB's. This need to be corrected.
For example, ROM_COS1.res() should return 23170. But, it returns only 130 (8 LSB).
This is corrected in this Pull Request.