---
title: "Comment by rain silent on \"STM32F4 Embedded Rust at the HAL: Timer Interrupts\" | Hashnode"
description: "This article is very impressive I am studying STM32F103C8T6 and looking for examples related to external clock sources based on timers. Can you please publish a"
url: "https://hashnode.com/posts/stm32f4-embedded-rust-at-the-hal-timer-interrupts/630cc3b556df9e8e502523bf/comment/64e42b1a965997cb76b4e6de"
---

[Discussion](https://hashnode.com/posts/stm32f4-embedded-rust-at-the-hal-timer-interrupts/630cc3b556df9e8e502523bf)

Comment [STM32F4 Embedded Rust at the HAL: Timer Interrupts](https://hashnode.com/posts/stm32f4-embedded-rust-at-the-hal-timer-interrupts/630cc3b556df9e8e502523bf)

[rain silent](https://hashnode.com/@silentrains)

[Aug 22, 2023](https://hashnode.com/posts/stm32f4-embedded-rust-at-the-hal-timer-interrupts/630cc3b556df9e8e502523bf/comment/64e42b1a965997cb76b4e6de)

This article is very impressive I am studying STM32F103C8T6 and looking for examples related to external clock sources based on timers. Can you please publish a similar article?

[Omar Hiari](https://hashnode.com/@omarhiari)

[Aug 24, 2023](https://hashnode.com/posts/stm32f4-embedded-rust-at-the-hal-timer-interrupts/630cc3b556df9e8e502523bf/comment/64e42b1a965997cb76b4e6de#reply-64e6ee7b06aee9f0bdb500ba)

Hello, [rain silent](https://hashnode.com/@silentrains) I am glad you liked it. One thing I wanted to do in the past related to your request is input capture to measure the frequency of external clock sources. It turns out at the time that the feature was not yet supported in various STM32 HALs. Nevertheless, it can still be done with software and GPIO. A very similar post you might find useful is the ultrasonic distance measurement, as it achieves something quite similar. Here is the link: [apollolabsblog.hashnode.dev/stm32f4-embedded-rust…](https://apollolabsblog.hashnode.dev/stm32f4-embedded-rust-at-the-hal-timer-ultrasonic-distance-measurement)
