Skip to main content

Crate picoem_common

Crate picoem_common 

Source
Expand description

Chip-agnostic primitives shared by rp2040_emu and rp2350_emu.

See wrk_docs/2026.04.14 - HLD - mdpicoem Workspace Restructure.md for the split policy: common owns primitives (types and pure functions); chip crates own composed structures that mix chip-specific state with those primitives.

Re-exports§

pub use self::clock::Clock;
pub use self::clocks::ClockTree;
pub use self::clocks::ROSC_FREQ_HZ;
pub use self::clocks::XOSC_FREQ_HZ;
pub use self::clocks::pll_output_hz;
pub use self::divider::Divider;
pub use self::fifo::Fifo;
pub use self::memory::Memory;
pub use self::memory::ROM_SIZE;
pub use self::memory::SRAM_SIZE;
pub use self::pacer::Pacer;
pub use self::pacer::PacerSnapshot;
pub use self::pacer::PacerStats;
pub use self::pio::PioBlock;

Modules§

clock
clocks
Clock tree primitives — ROSC/XOSC reference frequencies, PLL output math, and the cached ClockTree result.
divider
Per-core integer divider state — shared between RP2040 and RP2350.
fifo
8-entry circular FIFO for inter-processor communication.
memory
pacer
pio
threaded
Thread-coordination primitives shared across chip emulators.