Skip to content

Commit 336aae5

Browse files
authored
Fix ROSC typo (#259)
* Fix ROSC typo * Additional ROSC typos
1 parent 6c1150f commit 336aae5

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/rp2040/hardware_regs/include/hardware/regs/rosc.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@
190190
// set to 0xaa0 + div where
191191
// div = 0 divides by 32
192192
// div = 1-31 divides by div
193-
// any other value sets div=0 and therefore divides by 32
193+
// any other value sets div=31
194194
// this register resets to div=16
195195
// 0xaa0 -> PASS
196196
#define ROSC_DIV_OFFSET _u(0x00000010)
@@ -208,7 +208,7 @@
208208
#define ROSC_PHASE_RESET _u(0x00000008)
209209
// -----------------------------------------------------------------------------
210210
// Field : ROSC_PHASE_PASSWD
211-
// Description : set to 0xaa0
211+
// Description : set to 0xaa
212212
// any other value enables the output with shift=0
213213
#define ROSC_PHASE_PASSWD_RESET _u(0x00)
214214
#define ROSC_PHASE_PASSWD_BITS _u(0x00000ff0)
@@ -260,7 +260,7 @@
260260
// -----------------------------------------------------------------------------
261261
// Field : ROSC_STATUS_BADWRITE
262262
// Description : An invalid value has been written to CTRL_ENABLE or
263-
// CTRL_FREQ_RANGE or FRFEQA or FREQB or DORMANT
263+
// CTRL_FREQ_RANGE or FREQA or FREQB or DORMANT
264264
#define ROSC_STATUS_BADWRITE_RESET _u(0x0)
265265
#define ROSC_STATUS_BADWRITE_BITS _u(0x01000000)
266266
#define ROSC_STATUS_BADWRITE_MSB _u(24)

src/rp2040/hardware_regs/rp2040.svd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29321,7 +29321,7 @@
2932129321
<description>set to 0xaa0 + div where\n
2932229322
div = 0 divides by 32\n
2932329323
div = 1-31 divides by div\n
29324-
any other value sets div=0 and therefore divides by 32\n
29324+
any other value sets div=31\n
2932529325
this register resets to div=16</description>
2932629326
<enumeratedValues>
2932729327
<enumeratedValue>
@@ -29342,7 +29342,7 @@
2934229342
<field>
2934329343
<access>read-write</access>
2934429344
<bitRange>[11:4]</bitRange>
29345-
<description>set to 0xaa0\n
29345+
<description>set to 0xaa\n
2934629346
any other value enables the output with shift=0</description>
2934729347
<name>PASSWD</name>
2934829348
</field>
@@ -29385,7 +29385,7 @@
2938529385
<field>
2938629386
<access>read-write</access>
2938729387
<bitRange>[24:24]</bitRange>
29388-
<description>An invalid value has been written to CTRL_ENABLE or CTRL_FREQ_RANGE or FRFEQA or FREQB or DORMANT</description>
29388+
<description>An invalid value has been written to CTRL_ENABLE or CTRL_FREQ_RANGE or FREQA or FREQB or DORMANT</description>
2938929389
<modifiedWriteValues>oneToClear</modifiedWriteValues>
2939029390
<name>BADWRITE</name>
2939129391
</field>

0 commit comments

Comments
 (0)