Driver crate for the MAX20343/MAX20344 family of buck/boost converters.
Based on device_driver
.
Documentation cites from and refers to the datasheet, which can be found here.
Uses typestate to enforce correct usage.
```rust,ignore use max2034x::devices::Max20343F; use max2034x::Inductor; use max2034x::Pins;
let i2c = ...; let pins = Pins { ... }; // Create high-level interface, passing the inductor used with the device and // the optional pins. let mut buckboost = max2034x::Max2034x::new(i2c.acquire(), Max20343F, pins, Inductor::L22uH) .unwrap();
buckboost.enablefastboost(true).unwrap(); buckboost.enablefastboost_pin(true).unwrap(); ```