v2n-rtc-multi-alarm
Multi-source callback dispatcher on the on-module RV-3028-C7 RTC. Sets several different alarm types (one-shot, periodic, weekday) and confirms each fires the correct callback.
Source: examples/v2n/v2n-rtc-multi-alarm/.
board.yaml
schema_version: 2
som:
sku: E1M-V2N101
carrier:
name: E1M-X-EVK
cores:
m33_sm:
os: zephyr
app: ./src
peripherals: [i2c]
chips:
- rv3028c7
diagnostics:
log_level: info
What it shows
- Registering multiple
rv3028c7_alarm_*callbacks against different sources (timer countdown, alarm match, weekday). - The dispatcher fanning interrupts out to the right callback by INT-flag inspection.
- Battery-backed persistence: RTC keeps time across host power cycles via
VBAT_BACKUP.
See also
<alp/chips/rv3028c7.h><alp/rtc.h>— SoC-RTC variantrtc-clock— cross-family equivalent
Questions about this page? Discuss in Community Forum