Timer Clock Source







CKD00tDTS ⇒ tCKINT
01tDTS ⇒ 2 · tCKINT
10tDTS ⇒ 4 · tCKINT
11Reserved




ETP0ETR is noninverted, active at high level or rising edge (reset state)
1ETR is inverted, active at low level or falling edge
ETPS00Prescaler off (reset state)
01fETRP / 2
10fETRP / 4
11fETRP / 8

The code snippet below shows how to configure and use a GPIO pin as input.

#include "reg_stm32f4xx.h"
 
/* TO-DODELI DOO. */


  • stm32/peripherals/timer_clock.txt
  • Last modified: 2022/12/28 07:56
  • by ruan