#clock #wall #time #alarm #timezone #zone #associated

uhr

A no_std friendly wall clock and alarm clock library

2 unstable releases

0.2.0 Mar 31, 2019
0.1.0 Mar 31, 2019

#5 in #wall

MIT/Apache

12KB
247 lines

uhr - A no_std wall clock

uhr aims to provide a generic abstraction for a time zone aware wall clock, as well as alarms associated with wall clock time.

It is intended to be used with a Real Time Counter, or any other "ticking" peripheral that can be used to increment a counter.

It is NOT a monotonic clock, and is not suitable as a replacement for Instants and other similar structures. Time may move forward or backwards, due to time zone or daylight savings changes, or minor clock corrections provided by a more reliable source.

Dependencies

~1MB
~19K SLoC