This is an old revision of the document!
Timer Output
Programming Example
The code snippet bellow shows how to configure and use a GPIO pin as input.
#include "reg_stm32f4xx.h" /* TO-DODELI DOO. */
Configuration Registers
CCMR1/2
DIER
DMA / Interrupt enable register
CCxDE | 0 | CCx DMA request disabled (reset state) |
1 | CCx DMA request enabled | |
CCxIE | 0 | CCx interrupt disabled (reset state) |
1 | CCx interrupt enabled |
CCER
Capture/compare enable register
CCxE | 0 | Capture/compare output x disabled</sub> |
1 | Capture/compare output x enabled |