Module capsules_extra::screen_shared

source ·
Expand description

Shares a screen among multiple userspace processes.

The screen can be split into multiple regions, and regions are assigned to processes by AppID.

Boards should create an array of AppScreenRegion objects that assign apps to specific regions (frames) within the screen.

AppScreenRegion {
    app_id: kernel::process:ShortId::new(id),
    frame: Frame {
        x: 0,
        y: 0,
        width: 8,
        height: 16,
    }
}

This driver uses a subset of the API from Screen. It does not support any screen config settings (brightness, invert) as those operations affect the entire screen.

Structs§

Constants§