feat: add display UI with splash screen, dashboard, and RSSI sparkline

Implement full SSD1306 OLED display support:
- Splash screen on boot (1.5s) with project name, version, board
- Dashboard showing radio state, config, counters, RSSI/SNR
- RSSI history sparkline (64-sample ring buffer, 2px-wide bars)
- DisplayOn/DisplayOff host commands routed via dedicated channel
- Pure render functions against generic DrawTarget (no hardware coupling)
- Display on/off control bypasses radio task entirely

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
swaitsandClaude Opus 4.6 committed 2026-03-29 20:42:54 -06:00
1 parent 7064110293
commit 3102fc747a
17624 files changed
+4564928 -38

No files matched your search

@@ -0,0 +1,74 @@
#[doc = "Register `RXSTATUS` reader"]
pub struct R(crate::R<RXSTATUS_SPEC>);
impl core::ops::Deref for R {
type Target = crate::R<RXSTATUS_SPEC>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
impl From<crate::R<RXSTATUS_SPEC>> for R {
#[inline(always)]
fn from(reader: crate::R<RXSTATUS_SPEC>) -> Self {
R(reader)
}
}
#[doc = "Field `RXSTATUS` reader - Status of data in register RXDATA"]
pub type RXSTATUS_R = crate::BitReader<RXSTATUS_A>;
#[doc = "Status of data in register RXDATA\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum RXSTATUS_A {
#[doc = "0: No data pending in register RXDATA"]
NO_DATA_PENDING = 0,
#[doc = "1: Data pending in register RXDATA"]
DATA_PENDING = 1,
}
impl From<RXSTATUS_A> for bool {
#[inline(always)]
fn from(variant: RXSTATUS_A) -> Self {
variant as u8 != 0
}
}
impl RXSTATUS_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> RXSTATUS_A {
match self.bits {
false => RXSTATUS_A::NO_DATA_PENDING,
true => RXSTATUS_A::DATA_PENDING,
}
}
#[doc = "Checks if the value of the field is `NO_DATA_PENDING`"]
#[inline(always)]
pub fn is_no_data_pending(&self) -> bool {
*self == RXSTATUS_A::NO_DATA_PENDING
}
#[doc = "Checks if the value of the field is `DATA_PENDING`"]
#[inline(always)]
pub fn is_data_pending(&self) -> bool {
*self == RXSTATUS_A::DATA_PENDING
}
}
impl R {
#[doc = "Bit 0 - Status of data in register RXDATA"]
#[inline(always)]
pub fn rxstatus(&self) -> RXSTATUS_R {
RXSTATUS_R::new((self.bits & 1) != 0)
}
}
#[doc = "This register shows a status that indicates if data sent from the debugger to the CPU has been read.\n\nThis register you can [`read`](crate::generic::Reg::read). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [rxstatus](index.html) module"]
pub struct RXSTATUS_SPEC;
impl crate::RegisterSpec for RXSTATUS_SPEC {
type Ux = u32;
}
#[doc = "`read()` method returns [rxstatus::R](R) reader structure"]
impl crate::Readable for RXSTATUS_SPEC {
type Reader = R;
}
#[doc = "`reset()` method sets RXSTATUS to value 0"]
impl crate::Resettable for RXSTATUS_SPEC {
#[inline(always)]
fn reset_value() -> Self::Ux {
0
}
}