Skip to main content

Module eink

Module eink 

Source
Expand description

E-ink framebuffer constants, MXCFB ioctl structs, and row-diff helper.

The Fb struct (mmap + ioctl + present()) lives in crate::device::fb; it takes raw &[u8] RGB565 buffers, so it has no pixel-wrapper dependency.

Structs§

FbFixScreeninfo
FbVarScreeninfo
MxcfbRect
MxcfbUpdateData

Enums§

RenderScenario

Constants§

FBIOGET_FSCREENINFO
FBIOGET_VSCREENINFO
MXCFB_SEND_UPDATE
MXCFB_WAIT_FOR_UPDATE_COMPLETE
WAVE_A2
WAVE_DU
WAVE_GC16
WAVE_GL16
WAVE_GLD16
WAVE_GLR16
WAVE_INIT

Functions§

diff_rows
Compare two RGB565 byte buffers (same dimensions) and return the dirty row range aligned to 8-pixel boundaries. Returns None when buffers are identical.
waveform_for
Pick the best waveform for a given render scenario on Kaleido 3 color e-ink.