This is an old revision of the document!


Timer Input




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

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


Hardware Abstraction Layer
Registry Types
InES Timer HAL Interface


Configuration register 1




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

Slave mode control register




ETP0
1
ETPS0
1
ETF0
1




  • stm32/peripherals/timer_input.1467030199.txt.gz
  • Last modified: 2016/06/27 12:23
  • by feur