目覚め時計 (#3906)

* FuriHal: add RTC alarm support

* FuriHal: RTC alarm API. Alarm settings app. Alarm app.

* FuriHal: remove unnecessery init mode enters in RTC

* Update targets/f7/furi_hal/furi_hal_rtc.h

Co-authored-by: Silent <CookiePLMonster@users.noreply.github.com>

* Update targets/f7/furi_hal/furi_hal_rtc.c

Co-authored-by: Silent <CookiePLMonster@users.noreply.github.com>

* Update targets/f7/furi_hal/furi_hal_rtc.h

Co-authored-by: Silent <CookiePLMonster@users.noreply.github.com>

* FuriHal: add seconds in rtc alarm getter

* Alarm & Clock: redesign and cleanup setting and alarm apps, cleanup API

* Spelling and time separator in alarm

* Api Symbols: hide rtc alarm related methods

* Clock alarm: new thread cleanup routine, hour/minute separator in alarm

* Clock: move clock_settings_start into clock_settings fam

* Seettings: update clock and alarm UI according to figma

* Format icons

---------

Co-authored-by: Silent <CookiePLMonster@users.noreply.github.com>
This commit is contained in:
あく
2024-10-31 20:42:03 +09:00
committed by GitHub
parent 4b8a1a4b11
commit 561b4e947a
28 changed files with 1068 additions and 14 deletions

View File

@@ -68,6 +68,9 @@ const IRQn_Type furi_hal_interrupt_irqn[FuriHalInterruptIdMax] = {
// COMP
[FuriHalInterruptIdCOMP] = COMP_IRQn,
// RTC
[FuriHalInterruptIdRtcAlarm] = RTC_Alarm_IRQn,
// HSEM
[FuriHalInterruptIdHsem] = HSEM_IRQn,
@@ -256,6 +259,10 @@ void DMA2_Channel7_IRQHandler(void) {
furi_hal_interrupt_call(FuriHalInterruptIdDma2Ch7);
}
void RTC_Alarm_IRQHandler(void) {
furi_hal_interrupt_call(FuriHalInterruptIdRtcAlarm);
}
void HSEM_IRQHandler(void) {
furi_hal_interrupt_call(FuriHalInterruptIdHsem);
}