diff --git a/src/util.rs b/src/util.rs index 18c0458..86dd05f 100644 --- a/src/util.rs +++ b/src/util.rs @@ -416,6 +416,13 @@ impl RccPeriph for pac::I2C3 { } } +#[cfg(feature = "h7")] +impl RccPeriph for pac::I2C4 { + fn en_reset(rcc: &RegisterBlock) { + rcc_en_reset!(apb4, i2c4, rcc); + } +} + #[cfg(not(feature = "f301"))] // todo: Not sure what's going on here. impl RccPeriph for pac::SPI1 { fn en_reset(rcc: &RegisterBlock) {