Add support for ATtiny2313/A
attiny841: Fix TWI:TWSCRB:TWAA enumerated values
Actually this is just a single bit so 2-bit enum values don't make
sense. Newer svd2rust versions check whether enum values fit which
caught this error. Fix it.
Add ATtiny202 support
All of the svd patches are in patch/common/attiny-0-series.yaml which should
work for all of the 0-series (but may only work for ATtiny20* and ATtiny40*,
but not 80* or 160* given how the datasheet is split)
Add AT90USB1286 support
Ref: #80
all: Drop unnecessary access mode patches
Due to a change in atdf2svd [1], all these access mode patches are no
longer required - they are now translated correctly from the vendor
source file.
Drop all patches which no longer change the output (the code before and
after this change is equivalent when using the new atdf2svd).
[1]: https://github.com/Rahix/atdf2svd/commit/a189276b3540b647fab832946edf0acf39730a0e
atmega328p, pb: Split EIMSK INT field into 2
The INT0 and INT1 fields in the EIMSK register were incorrectly
combined into a 2 bit field, split into individual bits.
Also allow write access to PRR0 and PRR1 in ATmega328PB.
atmega328p: Make PRR register writable
Add attiny841 and attiny861
Add basic support for ATmega4809
atmega64: Patch UMSELn fields in USART
These fields for some reason have a wrong bit range in the ATDF file.
Signed-off-by: Rahix <rahix@rahix.de>
patch: spi: Patch enumerated values for SPI prescaler
Rename the values for the SPI clock prescaler from VAL_0xXX to more
meaningful identifiers.
Signed-off-by: Rahix <rahix@rahix.de>
Add support for atmega328pb
fix: atmegaX8 TIFR should be read-write
fix: attiny84 ADCSRA should be read-write
patches: Include _svd tag
The _svd: tag is needed for upstream svdtools to find the corresponding
svd file for each patch.
Signed-off-by: Rahix <rahix@rahix.de>