diff --git a/data/registers/rcc_h7ab.yaml b/data/registers/rcc_h7ab.yaml index fbd1732..3d3fef6 100644 --- a/data/registers/rcc_h7ab.yaml +++ b/data/registers/rcc_h7ab.yaml @@ -4305,7 +4305,7 @@ enum/SPDIFRXSEL: enum/SPI45SEL: bit_size: 3 variants: - - name: HCLK2 + - name: PCLK2 description: APB2 clock selected as peripheral clock value: 0 - name: PLL2_Q diff --git a/data/registers/rcc_h7rs.yaml b/data/registers/rcc_h7rs.yaml index dbcf0b2..adbe7cf 100644 --- a/data/registers/rcc_h7rs.yaml +++ b/data/registers/rcc_h7rs.yaml @@ -4095,7 +4095,7 @@ enum/SPI123SEL: enum/SPI45SEL: bit_size: 3 variants: - - name: HCLK2 + - name: PCLK2 description: APB2 clock selected as peripheral clock value: 0 - name: PLL2_Q diff --git a/stm32-data-gen/src/rcc.rs b/stm32-data-gen/src/rcc.rs index e0c4ebf..62f76f2 100644 --- a/stm32-data-gen/src/rcc.rs +++ b/stm32-data-gen/src/rcc.rs @@ -284,8 +284,8 @@ impl ParsedRccs { ("SPI1", &["SPI12", "SPI123"]), ("SPI2", &["SPI12", "SPI123"]), ("SPI3", &["SPI123"]), - ("SPI4", &["SPI145"]), - ("SPI5", &["SPI145"]), + ("SPI4", &["SPI145", "SPI45"]), + ("SPI5", &["SPI145", "SPI45"]), ("SAI1", &["SAI12"]), ("SAI2", &["SAI12", "SAI23"]), ("SAI3", &["SAI23"]),