Home
last modified time | relevance | path

Searched hist:"143 e9dce8eba247521ae29c5a5fed6a7cfe3c453" (Results 1 – 1 of 1) sorted by relevance

/optee_os/core/include/drivers/
H A Drtc.h143e9dce8eba247521ae29c5a5fed6a7cfe3c453 Thu Feb 01 10:09:49 UTC 2024 Clément Le Goffic <clement.legoffic@foss.st.com> drivers: rtc: add support of alarm in RTC API

Add set_alarm and read_alarm to the RTC API to set and read an alarm.

In parallel three others functions are added:
- `enable_alarm()`: Enable or not the alarm
- `wait_alarm()`: This function is called by the non-secure world and waits
until an alarm happens. The wait alarm caller is blocked until an
asynchronous notification arrives.
- `set_alarm_wakeup_status()`: Allow to disable or not the wakeup
capability of the alarm in low power mode

Signed-off-by: Clément Le Goffic <clement.legoffic@foss.st.com>
Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com>
Reviewed-by: Gatien Chevallier <gatien.chevallier@foss.st.com>