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

Implement RTC #22

Open
daniel5151 opened this issue Apr 17, 2020 · 0 comments
Open

Implement RTC #22

daniel5151 opened this issue Apr 17, 2020 · 0 comments
Labels
missing device The emulator is missing a device

Comments

@daniel5151
Copy link
Owner

The RTC device is described under section 20 in the ep93xx user guide.

A simple implementation might be to synchronize the RTCData register to the host machine's clock. A fancier implementation would add the ability to set the time as well (via RTCLoad). The RTC is also capable of generating interrupts, so there may have to be some plumbing there as well.

It's likely the device would take a similar approach to the timer device, where registers are lazilly updated when read / written to, while a background thread is responsible for generating interrupts.

@daniel5151 daniel5151 added the missing device The emulator is missing a device label Apr 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
missing device The emulator is missing a device
Projects
None yet
Development

No branches or pull requests

1 participant