https://github.com/luqasz/avr-registers
Fixed registers and bit fields generated from atdf files
https://github.com/luqasz/avr-registers
avr c cpp embedded rust
Last synced: about 1 year ago
JSON representation
Fixed registers and bit fields generated from atdf files
- Host: GitHub
- URL: https://github.com/luqasz/avr-registers
- Owner: luqasz
- License: bsd-2-clause
- Created: 2019-10-27T19:46:56.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-12-03T19:38:02.000Z (over 6 years ago)
- Last Synced: 2025-03-17T06:35:34.416Z (over 1 year ago)
- Topics: avr, c, cpp, embedded, rust
- Language: Python
- Size: 3.14 MB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Collection of registers and their bit fields
## Motivation:
Writing all registers and bit fields by hand it error prone and tideus.
While generating c++ header files with registers and bit fields,
I've noticed seriuos bugs and Inconsistencies in atdf files (see below).
Microchip is not responding to any mail reporting this issue.
That is why this repository exists.
You can find them in `registers` directory in `yaml` format for easy parsing and reading.
Original files can be downloaded from [here](http://packs.download.atmel.com/).
### Known bugs in original files:
* missing bit fields
* wrongly named bit fields
* missing registers
* `Res`, `Reserved` bit fields which should not exist
### Inconsistencies in original files:
* Same attribute names are represented in hex as well in int.
For all fixes see git log for atdf files.