M patch/atmega1280.yaml => patch/atmega1280.yaml +0 -1
@@ 3,7 3,6 @@ _svd: ../svd/atmega1280.svd
_include:
- "common/ac.yaml"
- "common/adc.yaml"
- - "common/port.yaml"
- "common/spi.yaml"
- "common/twi.yaml"
- "common/usart.yaml"
M patch/atmega168.yaml => patch/atmega168.yaml +0 -1
@@ 3,7 3,6 @@ _svd: ../svd/atmega168.svd
_include:
- "common/ac.yaml"
- "common/adc.yaml"
- - "common/port.yaml"
- "common/spi.yaml"
- "common/twi.yaml"
- "common/usart.yaml"
M patch/atmega2560.yaml => patch/atmega2560.yaml +0 -1
@@ 3,7 3,6 @@ _svd: ../svd/atmega2560.svd
_include:
- "common/ac.yaml"
- "common/adc.yaml"
- - "common/port.yaml"
- "common/spi.yaml"
- "common/twi.yaml"
- "common/usart.yaml"
M patch/atmega328p.yaml => patch/atmega328p.yaml +0 -6
@@ 3,7 3,6 @@ _svd: ../svd/atmega328p.svd
_include:
- "common/ac.yaml"
- "common/adc.yaml"
- - "common/port.yaml"
- "common/spi.yaml"
- "common/twi.yaml"
- "common/usart.yaml"
@@ 11,11 10,6 @@ _include:
- "timer/atmega328p.yaml"
-CPU:
- _modify:
- PRR:
- access: read-write
-
EXINT:
EIMSK:
_modify:
M patch/atmega328pb.yaml => patch/atmega328pb.yaml +0 -11
@@ 32,9 32,6 @@ TWI1:
# messes up the patch when using `common/ac.yaml`, so the
# ac has to be patched here instead.
AC:
- _modify:
- ACSR:
- access: read-write
ACSR:
_modify:
ACIS:
@@ 50,7 47,6 @@ AC:
_include:
- "common/adc.yaml"
- - "common/port.yaml"
- "common/usart.yaml"
- "common/spi.yaml"
- "common/twi.yaml"
@@ 58,13 54,6 @@ _include:
- "timer/atmega328pb.yaml"
-CPU:
- _modify:
- PRR0:
- access: read-write
- PRR1:
- access: read-write
-
EXINT:
EIMSK:
_modify:
M patch/atmega32u4.yaml => patch/atmega32u4.yaml +0 -1
@@ 4,7 4,6 @@ _include:
- "common/ac.yaml"
- "common/adc.yaml"
- "common/pll.yaml"
- - "common/port.yaml"
- "common/spi.yaml"
- "common/twi.yaml"
- "common/usart.yaml"
M patch/atmega48p.yaml => patch/atmega48p.yaml +0 -1
@@ 3,7 3,6 @@ _svd: ../svd/atmega48p.svd
_include:
- "common/ac.yaml"
- "common/adc.yaml"
- - "common/port.yaml"
- "common/spi.yaml"
- "common/twi.yaml"
- "common/usart.yaml"
M patch/atmega64.yaml => patch/atmega64.yaml +0 -1
@@ 3,7 3,6 @@ _svd: ../svd/atmega64.svd
_include:
- "common/ac.yaml"
- "common/adc.yaml"
- - "common/port.yaml"
- "common/spi.yaml"
- "common/usart.yaml"
M patch/atmega644.yaml => patch/atmega644.yaml +0 -1
@@ 3,7 3,6 @@ _svd: ../svd/atmega644.svd
_include:
- "common/ac.yaml"
- "common/adc.yaml"
- - "common/port.yaml"
- "common/spi.yaml"
- "common/twi.yaml"
- "common/usart.yaml"
M patch/atmega8.yaml => patch/atmega8.yaml +0 -3
@@ 1,4 1,1 @@
_svd: ../svd/atmega8.svd
-
-_include:
- - "common/port.yaml"
M patch/atmega8u2.yaml => patch/atmega8u2.yaml +0 -1
@@ 3,7 3,6 @@ _svd: ../svd/atmega8u2.svd
_include:
- "common/ac.yaml"
- "common/eeprom.yaml"
- - "common/port.yaml"
- "common/spi.yaml"
- "common/usart.yaml"
- "common/wdt.yaml"
M patch/attiny84.yaml => patch/attiny84.yaml +0 -11
@@ 3,7 3,6 @@ _svd: ../svd/attiny84.svd
_include:
- "common/ac.yaml"
- "common/eeprom.yaml"
- - "common/port.yaml"
- "common/wdt.yaml"
- "common/tiny/exint.yaml"
@@ 28,9 27,6 @@ AC:
bitWidth: 1
access: read-write
ADC:
- _modify:
- ADCSRA:
- access: read-write
ADCSRA:
ADPS:
_replace_enum:
@@ 142,9 138,6 @@ ADC:
AREF: [1, "External Voltage Reference at AREF pin, Internal Voltage Reference turned off"]
INTERNAL: [2, "Internal 1.1V Voltage Reference"]
CPU:
- _modify:
- OSCCAL:
- access: read-write
CLKPR:
CLKPS:
_replace_enum:
@@ 169,7 162,3 @@ CPU:
bitOffset: 2
bitWidth: 1
access: read-write
- OSCCAL:
- _modify:
- CAL:
- access: read-write
M patch/attiny841.yaml => patch/attiny841.yaml +0 -7
@@ 2,7 2,6 @@ _svd: ../svd/attiny841.svd
_include:
- "common/ac.yaml"
- - "common/port.yaml"
- "common/spi.yaml"
- "common/usart.yaml"
- "common/wdt.yaml"
@@ 10,9 9,6 @@ _include:
- "timer/attiny841.yaml"
ADC:
- _modify:
- ADCSRA:
- access: read-write
ADCSRA:
ADPS:
_replace_enum:
@@ 39,9 35,6 @@ ADC:
# slave, so it doesn't have many of the fields that the common peripheral
# does, like TWWC, TWAMR, and TWPS
TWI*:
- _modify:
- TWCR:
- access: read-write
TWSCRB:
TWAA:
_replace_enum:
M patch/attiny85.yaml => patch/attiny85.yaml +0 -12
@@ 3,7 3,6 @@ _svd: ../svd/attiny85.svd
_include:
- "common/ac.yaml"
- "common/eeprom.yaml"
- - "common/port.yaml"
- "common/wdt.yaml"
- "common/tiny/exint.yaml"
@@ 69,13 68,6 @@ ADC:
INTERNAL: [2, "Internal Voltage Reference (1.1V when REFS2 is cleared, 2.56V when REFS2 is set) without external bypass"]
INTERNAL_BYPASS: [3, "Internal 2.56V Voltage Reference with external bypass capacitor at AREF pin (REFS2 must be set)"]
CPU:
- _modify:
- CLKPR:
- access: read-write
- MCUSR:
- access: read-write
- OSCCAL:
- access: read-write
CLKPR:
CLKPS:
_replace_enum:
@@ 102,10 94,6 @@ CPU:
bitOffset: 2
bitWidth: 1
access: read-write
- OSCCAL:
- _modify:
- CAL:
- access: read-write
PLLCSR:
_modify:
PLOCK:
M patch/attiny861.yaml => patch/attiny861.yaml +0 -1
@@ 3,7 3,6 @@ _svd: ../svd/attiny861.svd
_include:
- "common/ac.yaml"
- "common/adc.yaml"
- - "common/port.yaml"
- "common/tiny/usi.yaml"
- "common/wdt.yaml"
M patch/attiny88.yaml => patch/attiny88.yaml +0 -16
@@ 3,7 3,6 @@ _svd: ../svd/attiny88.svd
_include:
- "common/ac.yaml"
- "common/eeprom.yaml"
- - "common/port.yaml"
- "common/spi.yaml"
- "common/twi.yaml"
- "common/wdt.yaml"
@@ 54,15 53,6 @@ ADC:
TC1_OVF: [6, "Timer/Counter1 Overflow"]
TC1_CE: [7, "Timer/Counter1 Capture Event"]
CPU:
- _modify:
- CLKPR:
- access: read-write
- OSCCAL:
- access: read-write
- PORTCR:
- access: read-write
- PRR:
- access: read-write
CLKPR:
CLKPS:
_replace_enum:
@@ 92,9 82,3 @@ EXINT:
_modify:
PCICR:
description: "Pin Change Interrupt Control Register"
-PORTA:
- _modify:
- PORTA:
- access: read-write
- DDRA:
- access: read-write
M patch/common/ac.yaml => patch/common/ac.yaml +0 -3
@@ 5,9 5,6 @@
# - Make just the Output field of ACSR read-only
# - Fix the "Interrupt Mode Select" enumerated values
AC:
- _modify:
- ACSR,ACSR?A,ACSRA:
- access: read-write
ACSR,ACSR?A,ACSRA:
_modify:
ACIS,ACIS?:
M patch/common/adc.yaml => patch/common/adc.yaml +1 -4
@@ 2,9 2,6 @@
#
# - Make the control-register actually writable
ADC:
- _modify:
- ADCSRA:
- access: read-write
ADCSRA:
ADPS:
_replace_enum:
@@ 20,4 17,4 @@ ADC:
_replace_enum:
AREF: [0, "Aref Internal Vref turned off"]
AVCC: [1, "AVcc with external capacitor at AREF pin"]
- INTERNAL: [3, "Internal 1.1V Voltage Reference with external capacitor at AREF pin"]>
\ No newline at end of file
+ INTERNAL: [3, "Internal 1.1V Voltage Reference with external capacitor at AREF pin"]
D patch/common/port.yaml => patch/common/port.yaml +0 -7
@@ 1,7 0,0 @@
-# Patches for I/O Ports
-#
-# - Make the PINx register writable (toggles the corresponding PORTx bit)
-PORT?:
- _modify:
- PIN?:
- access: read-write
M patch/common/spi.yaml => patch/common/spi.yaml +0 -5
@@ 2,17 2,12 @@
#
# Fix the SP2X status register bit to have write access
SPI*:
- _modify:
- SPSR:
- access: read-write
SPSR:
_modify:
SPIF:
access: read-only
WCOL:
access: read-only
- SPI2X:
- access: read-write
SPCR:
SPR:
_replace_enum:
M patch/common/tiny/exint.yaml => patch/common/tiny/exint.yaml +0 -3
@@ 1,7 1,4 @@
EXINT:
- _modify:
- GIFR:
- access: read-write
MCUCR:
_delete:
ISC??:
M patch/common/tiny/usi.yaml => patch/common/tiny/usi.yaml +0 -3
@@ 1,7 1,4 @@
USI:
- _modify:
- USISR:
- access: read-write
USICR:
_modify:
USICLK:
M patch/common/twi.yaml => patch/common/twi.yaml +0 -3
@@ 5,9 5,6 @@
# - Fix the "Slave Address Mask" description
# - Fix the Prescaler enumerated values
TWI*:
- _modify:
- TWCR:
- access: read-write
TWCR:
_modify:
TWWC:
M patch/common/usart.yaml => patch/common/usart.yaml +0 -3
@@ 1,7 1,4 @@
USART?:
- _modify:
- UCSR?A:
- access: read-write
UCSR?A:
_modify:
UPE?:
M patch/common/wdt.yaml => patch/common/wdt.yaml +0 -4
@@ 3,14 3,10 @@
# The control register has a different name between ATmega and
# ATtiny (WDTCSR vs WDTCR).
#
-# - Make the control register read-write
# - Remove the overlapping WDP (Prescaler) field and replace
# it with two separate fields.
# - TODO: See if svd2rust would support some kind of mask?
WDT:
- _modify:
- WDTCSR,WDTCR:
- access: read-write
WDTCSR,WDTCR:
_delete:
- WDP
M patch/timer/dev/16bit-tiny861-tc0.yaml => patch/timer/dev/16bit-tiny861-tc0.yaml +0 -4
@@ 1,7 1,3 @@
-_modify:
- TIFR?:
- access: read-write
-
TCCR?B:
_modify:
CS?:
M patch/timer/dev/16bit.yaml => patch/timer/dev/16bit.yaml +0 -4
@@ 1,7 1,3 @@
-_modify:
- TIFR?:
- access: read-write
-
TCCR?A:
_modify:
COM??:
M patch/timer/dev/8bit-async.yaml => patch/timer/dev/8bit-async.yaml +0 -4
@@ 1,7 1,3 @@
-_modify:
- TIFR?:
- access: read-write
-
TCCR?A:
_modify:
COM?A:
M patch/timer/dev/8bit-tiny85-tc1.yaml => patch/timer/dev/8bit-tiny85-tc1.yaml +0 -2
@@ 37,8 37,6 @@ _modify:
description: "Output Compare Register B"
OCR1C:
description: "Output Compare Register C"
- TCNT?:
- access: read-write
GTCCR:
_modify:
M patch/timer/dev/8bit.yaml => patch/timer/dev/8bit.yaml +0 -4
@@ 1,7 1,3 @@
-_modify:
- TIFR?:
- access: read-write
-
TCCR?A:
_modify:
COM?A: