Timer(input capture) with STM32

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ม.ค. 2025

ความคิดเห็น • 3

  • @bennguyen1313
    @bennguyen1313 3 ปีที่แล้ว

    I understand if you are interested in counting rising or falling edges then setting up the timer as a capture-compare makes sense... however,
    #1 How does the prescaler value affect the counting? Is it only for __HAL_TIM_GET_COUNTER ?
    #2 I assume enabling the interrupt will cause it to fire whenever there is a rising edge, but won't it count without using any interrupts? i.e. via __HAL_TIM_GET_COMPARE?

    • @darrenrussell3214
      @darrenrussell3214 3 ปีที่แล้ว

      a tip: you can watch movies at InstaFlixxer. Been using it for watching loads of movies lately.

    • @quentinquinn8205
      @quentinquinn8205 3 ปีที่แล้ว

      @Darren Russell Yea, I have been watching on InstaFlixxer for years myself =)