diff options
Diffstat (limited to 'embassy-stm32/src/timer/input_capture.rs')
| -rw-r--r-- | embassy-stm32/src/timer/input_capture.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/embassy-stm32/src/timer/input_capture.rs b/embassy-stm32/src/timer/input_capture.rs index bf26cabc6..bc7614cda 100644 --- a/embassy-stm32/src/timer/input_capture.rs +++ b/embassy-stm32/src/timer/input_capture.rs | |||
| @@ -137,4 +137,9 @@ impl<'d, T: GeneralInstance4Channel> InputCapture<'d, T> { | |||
| 137 | pub fn get_capture_value(&self, channel: Channel) -> u32 { | 137 | pub fn get_capture_value(&self, channel: Channel) -> u32 { |
| 138 | self.inner.get_capture_value(channel) | 138 | self.inner.get_capture_value(channel) |
| 139 | } | 139 | } |
| 140 | |||
| 141 | /// Get input interrupt. | ||
| 142 | pub fn get_input_interrupt(&self, channel: Channel) -> bool { | ||
| 143 | self.inner.get_input_interrupt(channel) | ||
| 144 | } | ||
| 140 | } | 145 | } |
