Expand description
AXP192 power management chip interface
Axp192::new
is the starting-point interface for this crate.
Some devices which include this IC:
- M5Stack Core 2 (including the Core 2 for AWS variant)
- M5Stack Tough
- M5StickC
- M5StickC PLUS
Warning! This chip probably controls power to the microcontroller you are running the code on, and bricking the entire device is a possibility!
This implementation does not yet completely cover the functionality of the IC. If there’s a feature you’d like to see implemented, either open an issue or create a pull request :)
Datasheet: https://github.com/m5stack/M5-Schematic/blob/master/Core/AXP192%20Datasheet_v1.1_en_draft_2211.pdf
Structs§
- The Axp192 struct is the main interface for this crate
Enums§
- Boot time setting
- GPIO0 function setting
- GPIO1 and GPIO2 function setting
- GPIO3 and GPIO4 function setting
- Long press time setting
- After the power is started PWROK Signal delay
- Shutdown duration setting