Skip to main content

Crate rlvgl_platform

Crate rlvgl_platform 

Source
Expand description

Hardware and simulator backends for rlvgl.

Re-exports§

pub use blit::BlitCaps;
pub use blit::BlitPlanner;
pub use blit::Blitter;
pub use blit::BlitterRenderer;
pub use blit::PixelFmt;
pub use blit::Rect as BlitRect;
pub use blit::Surface;
pub use cpu_blitter::CpuBlitter;
pub use display::DisplayDriver;
pub use effect::BlitterSink;
pub use effect::CrawlParams;
pub use effect::Effect;
pub use effect::EffectExt;
pub use effect::EffectSink;
pub use effect::SubSink;
pub use hwcore::addr::AddrError;
pub use hwcore::addr::DmaAddr;
pub use hwcore::addr::MmioAddr;
pub use hwcore::addr::PhysAddr;
pub use hwcore::isr::IsrChannel;
pub use hwcore::isr::IsrCounter;
pub use hwcore::isr::IsrFlag;
pub use hwcore::surface::BackBuffer;
pub use hwcore::surface::BankCollision;
pub use hwcore::surface::BorrowedForDma;
pub use hwcore::surface::FrameBuffer;
pub use hwcore::surface::FrontBuffer;
pub use hwcore::surface::InFlight;
pub use hwcore::surface::Scanout;
pub use input::InputDevice;
pub use input::InputEvent;
pub use screen::ColorFormat;
pub use screen::Rotation;
pub use screen::Screen;

Modules§

blit
Blitter traits and helpers. Basic graphics types and blitter traits for platform backends.
board_runtime
DPR-02 Board Runtime — warm-reset peripheral safe-stop, named boot sentinels, and the byte-offset layout for the DPR-00 §5.3 reserved SRAM4 telemetry window. Scaffold — consumer wiring lands under DPR-02a / DPR-02b per the DPR-01a / DPR-01b precedent. DPR-02 Board Runtime — warm-reset cleanup, boot sentinels, telemetry slots.
compositor
Dirty-region compositor for framebuffer restoration. Save-under compositor for overlay framebuffer management.
cpu_blitter
CPU fallback blitter. CPU-based fallback blitter.
display
Display driver traits and implementations. Traits and helpers for display drivers.
effect
Platform-level visual effect primitives (Effect trait, CrawlParams struct). Platform-level effect primitives.
frame_scheduler
DPR-01 Frame Scheduler — sole owner of per-frame DSI / LTDC writes (DSI_WCR, DSI_WIER, DSI_WIFCR, LTDC_L1CFBAR, LTDC_SRCR) per DPR-00 INV-DPR-3. Generic over frame_scheduler::ScanMode and frame_scheduler::Pacing. Scaffold — call-site migration lands under DPR-01a / DPR-01b. Marker types compile on host; the frame_scheduler::FrameScheduler constructor still requires the caller to assert MMIO unaliasing per its unsafe contract. DPR-01 Frame Scheduler — owns per-frame DSI / LTDC writes.
frame_sync
Frame synchronization traits for ERIF-based scheduling. Frame synchronization traits for ERIF-based scheduling.
gesture
Gesture recognition (debounced tap, press-down/release). Gesture recognition layer.
hwcore
Hardware-abstraction substrate (address newtypes, framebuffer ownership, ISR channels, typed register blocks). See the “Register-Mashing Discipline” section of CLAUDE.md. Hardware-abstraction substrate for rlvgl register-mashing zones.
input
Input device abstractions. Abstractions for input devices.
pacing
DPR-01 Pacing backends — OS-axis dispatch impls for frame_scheduler::Pacing. Hosts the generic pacing::FreeRtosPacing scaffold per DPR-01-A §4 phase-2 step 1; the Zephyr backend is deferred to DPR-01c. DPR-01 Pacing backends — OS-axis dispatch for crate::frame_scheduler::Pacing.
screen
Display geometry abstraction: logical dimensions + scan rotation. Screen abstraction: logical dimensions + physical scan rotation.

Enums§

Key
Identifiers for keyboard keys.