h5: fix usb.
This commit is contained in:
parent
711f9b10a8
commit
7a95245738
@ -1079,8 +1079,8 @@ fieldset/APB2ENR:
|
||||
description: "SAI2 clock enable\r Set and cleared by software."
|
||||
bit_offset: 22
|
||||
bit_size: 1
|
||||
- name: USBFSEN
|
||||
description: "USBFS clock enable\r Set and reset by software."
|
||||
- name: USBEN
|
||||
description: "USB clock enable\r Set and reset by software."
|
||||
bit_offset: 24
|
||||
bit_size: 1
|
||||
fieldset/APB2LPENR:
|
||||
@ -1130,8 +1130,8 @@ fieldset/APB2LPENR:
|
||||
description: "SAI2 clock enable during sleep mode\r Set and reset by software."
|
||||
bit_offset: 22
|
||||
bit_size: 1
|
||||
- name: USBFSLPEN
|
||||
description: "USBFS clock enable during sleep mode\r Set and reset by software."
|
||||
- name: USBLPEN
|
||||
description: "USB clock enable during sleep mode\r Set and reset by software."
|
||||
bit_offset: 24
|
||||
bit_size: 1
|
||||
fieldset/APB2RSTR:
|
||||
@ -1181,8 +1181,8 @@ fieldset/APB2RSTR:
|
||||
description: "SAI2 block reset\r Set and reset by software."
|
||||
bit_offset: 22
|
||||
bit_size: 1
|
||||
- name: USBFSRST
|
||||
description: "USBFS block reset\r Set and reset by software."
|
||||
- name: USBRST
|
||||
description: "USB block reset\r Set and reset by software."
|
||||
bit_offset: 24
|
||||
bit_size: 1
|
||||
fieldset/APB3ENR:
|
||||
@ -1549,11 +1549,11 @@ fieldset/CCIPR4:
|
||||
bit_offset: 2
|
||||
bit_size: 2
|
||||
enum: SYSTICKSEL
|
||||
- name: USBFSSEL
|
||||
description: USBFS kernel clock source selection
|
||||
- name: USBSEL
|
||||
description: USB kernel clock source selection
|
||||
bit_offset: 4
|
||||
bit_size: 2
|
||||
enum: USBFSSEL
|
||||
enum: USBSEL
|
||||
- name: SDMMC1SEL
|
||||
description: SDMMC1 kernel clock source selection
|
||||
bit_offset: 6
|
||||
@ -2740,7 +2740,7 @@ enum/USARTSEL:
|
||||
- name: LSE
|
||||
description: LSE selected as peripheral clock
|
||||
value: 5
|
||||
enum/USBFSSEL:
|
||||
enum/USBSEL:
|
||||
bit_size: 2
|
||||
variants:
|
||||
- name: DISABLE
|
||||
|
@ -168,6 +168,7 @@ impl Defines {
|
||||
("CAN", &["CAN_BASE", "CAN1_BASE"]),
|
||||
("FMC", &["FMC_BASE", "FMC_R_BASE"]),
|
||||
("FSMC", &["FSMC_R_BASE"]),
|
||||
("USB", &["USB_DRD_BASE"]),
|
||||
];
|
||||
let alt_peri_defines: HashMap<_, _> = ALT_PERI_DEFINES.iter().copied().collect();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user