summaryrefslogtreecommitdiff
path: root/ports/nrf/common-hal/rtc/RTC.c
AgeCommit message (Collapse)Author
2021-03-15run code formatting scriptmicroDev
2020-06-03Fix up end of file and trailing whitespace.Diego Elio Pettenò
This can be enforced by pre-commit, but correct it separately to make it easier to review.
2020-05-18nrf: rtc: persist rtc offset across rebootsSean Cross
Store the RTC value in the .uninitialized section, but make sure to flank it with some known values. That way we can determine if the RTC value has been initialized, or if it's random uninitialized garbage. As part of this, add a `common_hal_rtc_init()` routine to determine if the value is correct, or reset it to 0 if it is not valid. Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-13Initial work on SAMDScott Shawcroft
2020-03-13Fix autoreload, neopixel, monotonic_ns and sleep w/o SDScott Shawcroft
2020-03-13First try at lowering the power consumptionScott Shawcroft
2019-12-17upgrade nrfx API to v2hathach
2019-04-02Remove unnecessary MP_WEAK declarationsNick Moore
2019-04-02Change nRF RTC implementation to use RTC2 #1046Nick Moore
(to avoid interference with Bluetooth Softdevice. See https://github.com/adafruit/circuitpython/pull/1534#issuecomment-478776240 with thanks to @bboser for pointing it out)
2019-04-02There isn't really a good way to calibrate this RTC adafruit/circuitpython#1046Nick Moore
2019-04-02adafruit/circuitpython#1046 handle overflows in the RTC counterNick Moore
2019-04-02enable NRFX RTC adafruit/circuitpython#1046Nick Moore
2019-04-02more fake RTC code ... adafruit/circuitpython#1046Nick Moore
(works if MP_WEAK common_hal_rtc_get_time is removed)
2019-04-02starting on #1046 rtc for nRFNick Moore
2019-03-29Revert "Circuitpython nickzoic 1046 nrf rtc"Dan Halbert
2019-03-28There isn't really a good way to calibrate this RTC adafruit/circuitpython#1046Nick Moore
2019-03-28adafruit/circuitpython#1046 handle overflows in the RTC counterNick Moore
2019-03-28enable NRFX RTC adafruit/circuitpython#1046Nick Moore
2019-03-28more fake RTC code ... adafruit/circuitpython#1046Nick Moore
(works if MP_WEAK common_hal_rtc_get_time is removed)
2019-03-28starting on #1046 rtc for nRFNick Moore