SolarOS 4.13.4 manual · command
rtc
Show the RTC provider, capabilities, interrupt wiring, and alarm/timer owners. Reports unavailable when no RTC is present.
Usage
| Usage | Description | ||
|---|---|---|---|
rtc [status] | Show the RTC provider, capabilities, interrupt wiring, and alarm/timer owners. Reports unavailable when no RTC is present. | ||
rtc alarm set HH:MM[:SS] [day=N] [weekday=N] | Program the RTC hardware alarm, optionally matching a day or weekday. | ||
rtc alarm clear | Clear the RTC hardware alarm owned by this command. | ||
rtc timer set <duration> [repeat] | Program the RTC countdown timer. Durations use an s, m, h, or d suffix. | ||
rtc timer clear | Clear the RTC countdown timer owned by this command. | ||
rtc pending | Show pending RTC alarm and timer interrupts. | ||
| `rtc ack <alarm\ | timer\ | all>` | Acknowledge pending RTC interrupts. |