Skip to content

riscv-peripheral: utility function to get MTIME frequency from MTIMER peripheral #293

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

Merged
merged 1 commit into from
Jun 6, 2025

Conversation

romancardenas
Copy link
Contributor

While working on adapting the e310x-hal to this new approach, I found it would be useful to expose the MTIME_FREQ with a method to avoid using weird riscv_peripheral::MTIMER::<Clint>::MTIME_FREQ things.

@romancardenas romancardenas requested a review from a team as a code owner June 5, 2025 17:16
Copy link
Contributor

@rmsyn rmsyn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@romancardenas romancardenas added this pull request to the merge queue Jun 6, 2025
Merged via the queue into master with commit 392144e Jun 6, 2025
139 of 140 checks passed
@romancardenas romancardenas deleted the mtimer-freq branch June 19, 2025 07:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants