Skip to content

Commit 7620c6a

Browse files
authored
Merge pull request #1234 from stm32-rs/pssi
PSSI enums
2 parents 3d54137 + 614d850 commit 7620c6a

30 files changed

+70
-12
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@
9292
* Add SPI enums for G4, U5, H7+ (#1199)
9393
* FMC/FSMC enums, arrays & derives (#1200)
9494
* CRS enums (#1208)
95+
* PSSI enums
9596
* HRTIM:
9697
* H7 & G4 fixes and enums (#1021) (#1022)
9798
* Remove timer block suffixes from register/field names (#1023)

devices/fields/pssi/pssi.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,3 +88,6 @@ MIS:
8888
ICR:
8989
OVR_ISC:
9090
Clear: [1, Writing this bit to 1 clears the OVR_RIS bit in PSSI_RIS]
91+
92+
DR:
93+
BYTE?: [0, 0xFF]

devices/patches/pssi/pssi.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,15 +120,15 @@ _add:
120120
access: read-write
121121
resetValue: 0x00000000
122122
fields:
123-
Byte3:
123+
BYTE3:
124124
bitOffset: 24
125125
bitWidth: 8
126-
Byte2:
126+
BYTE2:
127127
bitOffset: 16
128128
bitWidth: 8
129-
Byte1:
129+
BYTE1:
130130
bitOffset: 8
131131
bitWidth: 8
132-
Byte0:
132+
BYTE0:
133133
bitOffset: 0
134134
bitWidth: 8

devices/stm32h523.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,8 @@ OCTOSPI:
206206

207207
PSSI:
208208
_strip: PSSI_
209+
_include:
210+
- fields/pssi/pssi.yaml
209211

210212
PWR:
211213
_strip: PWR_

devices/stm32h533.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,8 @@ PKA:
220220

221221
PSSI:
222222
_strip: PSSI_
223+
_include:
224+
- fields/pssi/pssi.yaml
223225

224226
PWR:
225227
_strip: PWR_

devices/stm32h562.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,8 @@ OCTOSPI:
174174

175175
PSSI:
176176
_strip: PSSI_
177+
_include:
178+
- fields/pssi/pssi.yaml
177179

178180
PWR:
179181
_strip: PWR_

devices/stm32h563.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,8 @@ OCTOSPI:
177177

178178
PSSI:
179179
_strip: PSSI_
180+
_include:
181+
- fields/pssi/pssi.yaml
180182

181183
PWR:
182184
_strip: PWR_

devices/stm32h573.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,8 @@ PKA:
189189

190190
PSSI:
191191
_strip: PSSI_
192+
_include:
193+
- fields/pssi/pssi.yaml
192194

193195
PWR:
194196
_strip: PWR_

devices/stm32h723.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,8 @@ OTG1_HS_PWRCLK: {}
321321

322322
PSSI:
323323
_strip: PSSI_
324+
_include:
325+
- fields/pssi/pssi.yaml
324326

325327
# PWR block
326328
PWR:

devices/stm32h725.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,8 @@ OTG1_HS_PWRCLK: {}
324324

325325
PSSI:
326326
_strip: PSSI_
327+
_include:
328+
- fields/pssi/pssi.yaml
327329

328330
# PWR block
329331
PWR:

devices/stm32h730.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,8 @@ OTG1_HS_PWRCLK: {}
332332

333333
PSSI:
334334
_strip: PSSI_
335+
_include:
336+
- fields/pssi/pssi.yaml
335337

336338
# PWR block
337339
PWR:

devices/stm32h733.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,8 @@ OTG1_HS_PWRCLK: {}
332332

333333
PSSI:
334334
_strip: PSSI_
335+
_include:
336+
- fields/pssi/pssi.yaml
335337

336338
# PWR block
337339
PWR:

devices/stm32h735.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,8 @@ OTG1_HS_PWRCLK: {}
330330

331331
PSSI:
332332
_strip: PSSI_
333+
_include:
334+
- fields/pssi/pssi.yaml
333335

334336
# PWR block
335337
PWR:

devices/stm32h7a3.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,8 @@ OTG1_HS_PWRCLK: {}
275275

276276
PSSI:
277277
_strip: PSSI_
278+
_include:
279+
- fields/pssi/pssi.yaml
278280

279281
PWR:
280282
_strip: PWR_

devices/stm32h7b0.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,8 @@ OTG1_HS_PWRCLK: {}
294294

295295
PSSI:
296296
_strip: PSSI_
297+
_include:
298+
- fields/pssi/pssi.yaml
297299

298300
PWR:
299301
_strip: PWR_

devices/stm32h7b3.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,8 @@ OTG1_HS_PWRCLK: {}
296296

297297
PSSI:
298298
_strip: PSSI_
299+
_include:
300+
- fields/pssi/pssi.yaml
299301

300302
PWR:
301303
_strip: PWR_

devices/stm32h7r.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,8 @@ OTG_HS:
173173

174174
PSSI:
175175
_strip: PSSI_
176+
_include:
177+
- fields/pssi/pssi.yaml
176178

177179
PWR:
178180
_strip: PWR_

devices/stm32h7s.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,8 @@ PKA:
193193

194194
PSSI:
195195
_strip: PSSI_
196+
_include:
197+
- fields/pssi/pssi.yaml
196198

197199
PWR:
198200
_strip: PWR_

devices/stm32n645.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,8 @@ OTG1:
116116

117117
PSSI:
118118
_strip: PSSI_
119+
_include:
120+
- fields/pssi/pssi.yaml
119121

120122
PWR:
121123
_strip: PWR_

devices/stm32n647.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,8 @@ OTG1:
116116

117117
PSSI:
118118
_strip: PSSI_
119+
_include:
120+
- fields/pssi/pssi.yaml
119121

120122
PWR:
121123
_strip: PWR_

devices/stm32n655.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,8 @@ PKA:
125125

126126
PSSI:
127127
_strip: PSSI_
128+
_include:
129+
- fields/pssi/pssi.yaml
128130

129131
PWR:
130132
_strip: PWR_

devices/stm32n657.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,8 @@ PKA:
125125

126126
PSSI:
127127
_strip: PSSI_
128+
_include:
129+
- fields/pssi/pssi.yaml
128130

129131
PWR:
130132
_strip: PWR_

devices/stm32u535.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,9 @@ OCTOSPI1:
170170
- patches/octospi/u535_u545.yaml
171171
- fields/octospi/u5.yaml
172172

173-
PSSI: {}
173+
PSSI:
174+
_include:
175+
- fields/pssi/pssi.yaml
174176

175177
PWR:
176178
_strip: PWR_

devices/stm32u545.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,9 @@ OCTOSPI1:
182182

183183
PKA: {}
184184

185-
PSSI: {}
185+
PSSI:
186+
_include:
187+
- fields/pssi/pssi.yaml
186188

187189
PWR:
188190
_strip: PWR_

devices/stm32u575.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,9 @@ OTG_FS: {}
195195

196196
PKA: {}
197197

198-
PSSI: {}
198+
PSSI:
199+
_include:
200+
- fields/pssi/pssi.yaml
199201

200202
PWR:
201203
_strip: PWR_

devices/stm32u585.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,9 @@ OTG_FS: {}
204204

205205
PKA: {}
206206

207-
PSSI: {}
207+
PSSI:
208+
_include:
209+
- fields/pssi/pssi.yaml
208210

209211
PWR:
210212
_strip: PWR_

devices/stm32u595.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,9 @@ OPAMP: {}
187187

188188
OTG_HS: {}
189189

190-
PSSI: {}
190+
PSSI:
191+
_include:
192+
- fields/pssi/pssi.yaml
191193

192194
PWR:
193195
_strip: PWR_

devices/stm32u599.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,9 @@ OPAMP: {}
204204

205205
OTG_HS: {}
206206

207-
PSSI: {}
207+
PSSI:
208+
_include:
209+
- fields/pssi/pssi.yaml
208210

209211
PWR:
210212
_strip: PWR_

devices/stm32u5a5.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,9 @@ OTG_HS: {}
199199

200200
PKA: {}
201201

202-
PSSI: {}
202+
PSSI:
203+
_include:
204+
- fields/pssi/pssi.yaml
203205

204206
PWR:
205207
_strip: PWR_

devices/stm32u5a9.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,9 @@ OTG_HS: {}
216216

217217
PKA: {}
218218

219-
PSSI: {}
219+
PSSI:
220+
_include:
221+
- fields/pssi/pssi.yaml
220222

221223
PWR:
222224
_strip: PWR_

0 commit comments

Comments
 (0)