remove one method
This commit is contained in:
parent
b751cb7d48
commit
bd82e4cace
@ -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
|
/// Only useful for output pins
|
||||||
/// See p.52 of the programmers guide for more information.
|
/// 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
|
/// When configured for pulse mode, a given pin will set the non-default state for exactly
|
||||||
|
Loading…
x
Reference in New Issue
Block a user