This is an old revision of the document!


Timer Output




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


Capture/compare mode register 1/2




DMA / Interrupt enable register




CCxDE0CCx DMA request disabled (reset state)
1CCx DMA request enabled
CCxIE0CCx interrupt disabled (reset state)
1CCx interrupt enabled

Capture/compare enable register




CCxE0Capture/compare output x disabled</sub>
1Capture/compare output x enabled




  • stm32/peripherals/timer_output.1467098800.txt.gz
  • Last modified: 2016/06/28 07:26
  • by feur