rust-embedded / rust-embedded/cortex-m
DWT: address comparison configuration does not verify written mask
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 1k
- Forks
- 202
- Avg merge
- 6d 2h
- Merged PRs (30d)
- 2
Description
From ARM DDI 0403.d, p. C1-731:
To find the maximum size of the address comparison mask for comparator n, software must write
0b11111 to the DWT_MASKn.MASK field, and then read the DWT_MASKn register. The value
returned in the MASK field is the maximum mask size.
There also is no function available that queries this maximum mask size.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the DWT address-comparison configuration API and compare its behavior with the ARM DDI 0403.d, p. C1-731 requirement. The work is done when writing the mask verifies the value read back from DWT_MASKn and an API exposes the maximum mask size; no specific file or test is named in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- embedded-iot
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100