axp20x

Crates.ioaxp20x
lib.rsaxp20x
version0.0.3
created_at2022-03-26 15:18:49.624787+00
updated_at2025-03-10 09:08:45.680113+00
descriptionRust driver for axp20x Power Management Unit
homepage
repositoryhttps://github.com/pyaillet/axp20x-rs
max_upload_size
id556723
size24,473
Pierre-Yves Aillet (pyaillet)

documentation

README

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.

Commit count: 17

cargo fmt