remove one method

This commit is contained in:
Robin Müller 2025-02-11 18:52:12 +01:00
parent b751cb7d48
commit bd82e4cace
Signed by: muellerr
GPG Key ID: A649FB78196E3849

View File

@ -320,13 +320,6 @@ pub(super) unsafe trait RegisterInterface {
}
}
/// Persistent bit which specifies whether an edge was detected. Reading will clear the bit.
#[inline(always)]
fn edge_has_occurred(&mut self) -> bool {
let portreg = self.port_reg();
((portreg.edge_status().read().bits() >> self.id().num) & 0x01) == 1
}
/// Only useful for output pins
/// See p.52 of the programmers guide for more information.
/// When configured for pulse mode, a given pin will set the non-default state for exactly