[−][src]Trait msp430fr2x5x_hal::capture::CapturePin
Single input capture pin
Associated Types
type Capture
[src]
Type of value returned by capture
type Error
[src]
Enumeration of Capture
errors
Possible errors:
- overcapture, the previous capture value was overwritten because it was not read in a timely manner
Required methods
pub fn capture(&mut self) -> Result<Self::Capture, Self::Error>
[src]
"Waits" for a transition in the capture channel
and returns the value
of counter at that instant