#driver #interrupt #unit #state

no-std axp20x

Rust driver for axp20x Power Management Unit

3 releases

0.0.3 Mar 10, 2025
0.0.2 Oct 29, 2023
0.0.1 Mar 26, 2022

#2123 in Embedded development

Download history 9/week @ 2024-12-08 1/week @ 2025-02-16 4/week @ 2025-02-23 8/week @ 2025-03-02 108/week @ 2025-03-09 11/week @ 2025-03-16

128 downloads per month

MIT/Apache

18KB
364 lines

Build status Crates.io Docs.rs

AXP20X Rust driver

Minimal Axp20x implementation.

What's working:

  • Changing Power modes
  • Configuring interrupts
  • Checking interrupt state

Interrupt service handler setup is not provided, as it depends on your platform

Examples

You can find an example usage in this project: TTGO T-Watch v1 rust example.

Contributing

This project is open to contributions of any form, do not hesitate to open an issue or a pull-request if you have questions or suggestions.

Dependencies

~1.5MB
~39K SLoC