From c90234583ea5c17b21774a8e439dbe6e0b3699f5 Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Sat, 9 Apr 2022 00:43:48 +0200 Subject: [PATCH] RCC: fix USBFS -> USB --- data/registers/rcc_f4.yaml | 2 +- data/registers/rcc_l4.yaml | 6 +++--- data/registers/rcc_l5.yaml | 16 ++++++++-------- data/registers/rcc_wb.yaml | 2 +- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/data/registers/rcc_f4.yaml b/data/registers/rcc_f4.yaml index 52910a9..08512a0 100644 --- a/data/registers/rcc_f4.yaml +++ b/data/registers/rcc_f4.yaml @@ -1621,7 +1621,7 @@ fieldset/DCKCFGR2: bit_size: 1 enum: CECSEL - name: CK48MSEL - description: SDIO/USBFS clock selection + description: SDIO/USB clock selection bit_offset: 27 bit_size: 1 enum: CKMSEL diff --git a/data/registers/rcc_l4.yaml b/data/registers/rcc_l4.yaml index 9751c26..eff25cc 100644 --- a/data/registers/rcc_l4.yaml +++ b/data/registers/rcc_l4.yaml @@ -598,7 +598,7 @@ fieldset/APB1ENR1: description: CAN2 clock enable bit_offset: 26 bit_size: 1 - - name: USBFSEN + - name: USBEN description: USB FS clock enable bit_offset: 26 bit_size: 1 @@ -720,7 +720,7 @@ fieldset/APB1RSTR1: description: CAN2 reset bit_offset: 26 bit_size: 1 - - name: USBFSRST + - name: USBRST description: USB FS reset bit_offset: 26 bit_size: 1 @@ -846,7 +846,7 @@ fieldset/APB1SMENR1: description: CAN2 clocks enable during Sleep and Stop modes bit_offset: 26 bit_size: 1 - - name: USBFSSMEN + - name: USBSMEN description: USB FS clock enable during Sleep and Stop modes bit_offset: 26 bit_size: 1 diff --git a/data/registers/rcc_l5.yaml b/data/registers/rcc_l5.yaml index 94c79fb..9cf1aaa 100644 --- a/data/registers/rcc_l5.yaml +++ b/data/registers/rcc_l5.yaml @@ -708,8 +708,8 @@ fieldset/APB1ENR2: description: FDCAN1EN bit_offset: 9 bit_size: 1 - - name: USBFSEN - description: USBFSEN + - name: USBEN + description: USBEN bit_offset: 21 bit_size: 1 - name: UCPD1EN @@ -822,8 +822,8 @@ fieldset/APB1RSTR2: description: FDCAN1RST bit_offset: 9 bit_size: 1 - - name: USBFSRST - description: USBFSRST + - name: USBRST + description: USBRST bit_offset: 21 bit_size: 1 - name: UCPD1RST @@ -944,8 +944,8 @@ fieldset/APB1SECSR2: description: FDCAN1SECF bit_offset: 9 bit_size: 1 - - name: USBFSSECF - description: USBFSSECF + - name: USBSECF + description: USBSECF bit_offset: 21 bit_size: 1 - name: UCPD1SECF @@ -1066,8 +1066,8 @@ fieldset/APB1SMENR2: description: FDCAN1SMEN bit_offset: 9 bit_size: 1 - - name: USBFSSMEN - description: USBFSSMEN + - name: USBSMEN + description: USBSMEN bit_offset: 21 bit_size: 1 - name: UCPD1SMEN diff --git a/data/registers/rcc_wb.yaml b/data/registers/rcc_wb.yaml index 7d8307b..dc63453 100644 --- a/data/registers/rcc_wb.yaml +++ b/data/registers/rcc_wb.yaml @@ -544,7 +544,7 @@ fieldset/APB1RSTR1: description: CRS reset bit_offset: 24 bit_size: 1 - - name: USBFSRST + - name: USBRST description: USB FS reset bit_offset: 26 bit_size: 1