From 2e8c0bc791fa113a3370f994cb3138a6a5c66587 Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Sat, 27 Nov 2021 02:32:51 +0100 Subject: [PATCH] Fix stm32u5 accidentally removed fieldset/PRIVCFGR --- data/registers/pwr_u5.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/data/registers/pwr_u5.yaml b/data/registers/pwr_u5.yaml index f3167ef..7f2cb26 100644 --- a/data/registers/pwr_u5.yaml +++ b/data/registers/pwr_u5.yaml @@ -329,6 +329,19 @@ fieldset/PCR: array: len: 16 stride: 1 +fieldset/PRIVCFGR: + description: "PWR privilege control register " + fields: + - name: SPRIV + description: "PWR secure functions privilege configuration\r This bit is set and reset by software. It can be written only by a secure privileged access." + bit_offset: 0 + bit_size: 1 + enum: SPRIV + - name: NSPRIV + description: "PWR non-secure functions privilege configuration\r This bit is set and reset by software. It can be written only by privileged access, secure or non-secure." + bit_offset: 1 + bit_size: 1 + enum: NSPRIV fieldset/SECCFGR: description: "PWR security configuration register " fields: