cpu/atmega256rfr2/rtc.c: Initial RTC Implementation#9378
Closed
shr70 wants to merge 5 commits intoRIOT-OS:masterfrom
Closed
cpu/atmega256rfr2/rtc.c: Initial RTC Implementation#9378shr70 wants to merge 5 commits intoRIOT-OS:masterfrom
shr70 wants to merge 5 commits intoRIOT-OS:masterfrom
Conversation
a367ca3 to
e8d6485
Compare
Implements the rtc using a 32,768kHz watch crystal connected to the asynchronous Timer2 Lightly tweaked version of the Application Note "AVR134: Real Time Clock using the Asynchronous Timer"
Added context switch check in interrupt. Made get time/alarm interrupt save. Added documentation.
Contributor
|
@shr70 There is a pre-existing RTT and RTC implementation in #8842 for all ATmega systems. It is tested and working with the ATmega1284P, but should also work with ATmega256RFR2 (testing on your system would be appreciated). It is currently waiting for @gebart and @kaspar030 to have some time to finish their reviews. |
Member
|
Closing this in favor of #8842 |
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.
Contribution description
Implements the RTC using a 32,768kHz watch crystal connected to the asynchronous Timer2.
Lightly tweaked version of the Application Note "AVR134: Real Time Clock using the Asynchronous Timer"
Issues/PRs references