Skip to content

Commit

Permalink
[svd] add read-modify attributes
Browse files Browse the repository at this point in the history
Reading certain registers by the debugger might cause side effects.
  • Loading branch information
stnolting committed Jan 2, 2025
1 parent 2cfd534 commit f1e8d52
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions sw/svd/neorv32.svd
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@
<name>DATA</name>
<description>RX/TX data register (lowest 8 bit)</description>
<addressOffset>0x04</addressOffset>
<readAction>modify</readAction>
</register>
</registers>
</peripheral>
Expand Down Expand Up @@ -369,11 +370,13 @@
<name>DATA</name>
<description>RX/TX data register</description>
<addressOffset>0x08</addressOffset>
<readAction>modify</readAction>
</register>
<register>
<name>DATA_LAST</name>
<description>RX/TX data register (plus TX end-of-stream delimiter)</description>
<addressOffset>0x0c</addressOffset>
<readAction>modify</readAction>
</register>
</registers>
</peripheral>
Expand Down Expand Up @@ -821,6 +824,7 @@
<name>DCMD</name>
<description>Read/write transmission data/command register</description>
<addressOffset>0x04</addressOffset>
<readAction>modify</readAction>
<fields>
<field>
<name>ONEWIRE_DCMD_DATA</name>
Expand Down Expand Up @@ -1060,6 +1064,7 @@
<name>DATA</name>
<description>RTX data register</description>
<addressOffset>0x04</addressOffset>
<readAction>modify</readAction>
</register>
</registers>
</peripheral>
Expand Down Expand Up @@ -1200,6 +1205,7 @@
<name>DATA</name>
<description>Data register</description>
<addressOffset>0x04</addressOffset>
<readAction>modify</readAction>
<fields>
<field>
<name>SPI_DATA</name>
Expand Down Expand Up @@ -1299,6 +1305,7 @@
<name>DCMD</name>
<description>RX/TX data/command register</description>
<addressOffset>0x04</addressOffset>
<readAction>modify</readAction>
<fields>
<field>
<name>TWI_DCMD</name>
Expand Down Expand Up @@ -1435,6 +1442,7 @@
<name>DATA</name>
<description>RX/TX data register</description>
<addressOffset>0x04</addressOffset>
<readAction>modify</readAction>
<fields>
<field>
<name>TWI_DATA</name>
Expand Down Expand Up @@ -1499,6 +1507,7 @@
<name>DATA</name>
<description>Random data</description>
<addressOffset>0x04</addressOffset>
<readAction>modify</readAction>
<fields>
<field>
<name>TRNG_DATA</name>
Expand Down

0 comments on commit f1e8d52

Please sign in to comment.