rust-embedded / rust-embedded/cortex-m

IPSR register?

Open
#158 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
1k
Forks
202
Avg merge
6d 2h
Merged PRs (30d)
2

Description

What is the recommended way to access the IPSR (interrupt program status register)? Apparently it used to exist a long time ago and vanished in commit 251d1aa11244d5356659ccf969e29b0e7da82c7a never to be seen again, and I can't seem to get to it in the current API. I am using a thumbv6m (cortex-m0) device. Thanks

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing commit 251d1aa11244d5356659ccf969e29b0e7da82c7a and the current API for thumbv6m/Cortex-M0 targets. Determine the supported way to access the IPSR, then define whether the API should expose or document it and verify the result for a Cortex-M0 target.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
embedded-iot
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.