drv_rtc_pcf8563
Real-time clock driver for the NXP PCF8563. Provides battery-backed timekeeping via I2C.
Overview Proven
| HAL Type | RTC |
| Chip | PCF8563 |
| Interface | I2C |
| Description | BCD-encoded time registers. Supports get/set time and alarm with interrupt output. Falls back to system tick when absent. |
Implementation
| Source | components/kernel_rs/src/drv_rtc_pcf8563.rs (823 lines) |
| Wraps | None — manual I2C register reads/writes |
| Tests | 25 unit tests |
Devices
Boards that use this driver:
| Device | Status |
|---|---|
| T-Deck Pro | Proven |
Configuration
Configured via board.json: I2C address, pin_sda, pin_scl, optional pin_int for alarm interrupt.
Known Issues
No known issues.