include/drivers: Add RTC API header and handlers
This commit adds the rtc.h header file which contains API functions for real-time-clocks, which are low power devices which track and represent broken-down time. It also changes one line of doxygen documentation in the maxim_ds3132.h file to place it in its own group. The handlers for use of the API from userspace is also added with this commit. The API is split into one mandatory section, setting and getting time, and three optional sections, alarms, update event callback, and clock calibration. Signed-off-by: Bjarki Arge Andreasen <baa@trackunit.com>
This commit is contained in:
parent
24df09bf0a
commit
b557a1d711
9 changed files with 707 additions and 4 deletions
|
@ -79,5 +79,6 @@ source "drivers/w1/Kconfig"
|
|||
source "drivers/watchdog/Kconfig"
|
||||
source "drivers/wifi/Kconfig"
|
||||
source "drivers/xen/Kconfig"
|
||||
source "drivers/rtc/Kconfig"
|
||||
|
||||
endmenu
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue