atmega32u4-hal

Crates.ioatmega32u4-hal
lib.rsatmega32u4-hal
version0.1.4
sourcesrc
created_at2018-10-02 18:48:08.331283
updated_at2018-12-05 20:49:06.532153
descriptionHardware Abstraction Layer for ATmega32U4
homepage
repositoryhttps://github.com/Rahix/atmega32u4-hal
max_upload_size
id87664
size52,717
Rahix (Rahix)

documentation

https://docs.rs/atmega32u4-hal

README

ATmega32U4-HAL crates.io page docs.rs

Hardware Abstraction Layer for ATmega32U4. Built ontop of atmega32u4 for register definitions and embedded-hal for hardware abstractions.

The following features are implemented as of now:

  • Port digital IO: Digital input and output using embedded-hal traits.
  • Port PWM: Using the 4 builtin timers, PWM can be configured for a few pins. Namely PB5, PB6, PB7, PC6, PC7 & PD0.
  • Delay: Delay using a busy loop. Implementation taken from the ArduinoCore library.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Commit count: 35

cargo fmt