Skip to main content

Module analog_matrix

Module analog_matrix 

Source
Expand description

Analog hall-effect matrix implementation. Hall-effect analog matrix scanner with EEPROM-backed per-key calibration and continuous auto-calibration.

Re-exportsยง

pub use types::HallCfg;

Modulesยง

calibration ๐Ÿ”’
First-boot guided calibration and EEPROM persistence.
scan ๐Ÿ”’
Hot-path matrix scanning: column stability check, rapid-trigger logic, and per-key travel computation.
types ๐Ÿ”’

Structsยง

AdcPart
ADC-related peripherals grouped to allow split borrows when constructing a [embassy_stm32::adc::ConfiguredSequence].
AnalogHallMatrix
Hall-effect analog matrix scanner with EEPROM-backed per-key calibration and continuous auto-calibration.

Functionsยง

get2 ๐Ÿ”’
Copy the element at (row, col) from a 2-D array slice, returning None if either index is out of bounds.
get2_mut ๐Ÿ”’
Return a mutable reference to (row, col) in a 2-D array slice, returning None if either index is out of bounds.