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?
@darrenrussell32143 жыл бұрын
a tip: you can watch movies at InstaFlixxer. Been using it for watching loads of movies lately.
@quentinquinn82053 жыл бұрын
@Darren Russell Yea, I have been watching on InstaFlixxer for years myself =)