Skip to content
This repository has been archived by the owner on Jan 27, 2021. It is now read-only.
/ atmega32u4-hal Public archive

Hardware Abstraction Layer for ATmega32U4

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

Rahix/atmega32u4-hal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deprecation Note:

This crate will soon be deprecated in favor of avr-hal.

avr-hal is a new approach to writing the HAL crate, that was designed with support for many AVR microcontrollers in mind. The macros have been factored out into a common crate named avr-hal-generic, which the board HALs then use to instanciate their respective peripherals.


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.

About

Hardware Abstraction Layer for ATmega32U4

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages