Skip to main content

Module metadata

Module metadata 

Source
Expand description

Metadata for apps about the drivers, like what physical slot the module is in, that the driver uses, and what type of module is used by the driver.

Module identification is resistor-coded: two detection resistors (md0 and md1) are read by the ADC at boot. The combination uniquely selects a ModuleID, which a crate::driver::Driver matches against its DriverMeta::ID constant.

Structs§

ModuleID
Resistor-coded module identifier: two 12-bit detection resistor values.

Enums§

ModuleDetectResistor
Standard E24-series resistor values used for module detection.
ModuleSlot
Physical slot that a module is plugged into.

Constants§

AVDD
Supply voltage (nominal 3.3 V) used for the resistor-divider ADC reading.
BOTTOM_RESISTOR
Fixed 10 kΩ pull-down resistor on the module-detection line.