| Crates.io | atmega32u4 |
| lib.rs | atmega32u4 |
| version | 0.1.3 |
| created_at | 2018-09-21 20:29:25.989185+00 |
| updated_at | 2018-10-01 06:03:05.251122+00 |
| description | Low level access to ATmega32U4 registers |
| homepage | |
| repository | https://github.com/Rahix/atmega32u4 |
| max_upload_size | |
| id | 85871 |
| size | 737,030 |
ATmega32U4 Low level access to ATmega32U4 registers. Refer to the ATmega32U4 datasheet for more detailed information.
This crate not yet done and support for a lot of peripherals is still missing. The following have been implemented already:
PORTB: Digital IOPORTC: Digital IOPORTD: Digital IOPORTE: Digital IOPORTF: Digital IOTIMER0: 8-bit Timer/Counter0 with PWMTIMER1: 16-bit Timer/Counter1TIMER3: 16-bit Timer/Counter3TIMER4: 10-bit High Speed Timer/Counter4EXT_INT: External InterruptsUSB: USB ControllerIf support for a peripheral you need is missing, please open an issue or implement it yourself and send a pull request ;)
This crate is built using svd2rust. However, as there are no svd files available for ATmega32U4,
a python script is used to generate the svd file. Take a look at gen-svd.py and svd/peripheral.py.
Peripherals can be specified in a toml format which should make adding new ones easier. Use the existing
ones as reference (eg. svd/timer0.svd).
To actually perform a build, run build.sh.
Licensed under either of
at your option.
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.