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