5 releases
Uses old Rust 2015
0.1.4 | Dec 5, 2018 |
---|---|
0.1.3 | Oct 9, 2018 |
0.1.2 | Oct 7, 2018 |
0.1.1 | Oct 2, 2018 |
0.1.0 | Oct 2, 2018 |
#34 in #arduino
52 downloads per month
Used in arduino-leonardo
40KB
714 lines
ATmega32U4-HAL
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
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
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.
Dependencies
~795KB
~28K SLoC