Time Base Settings
Prescaler Prescaler value
Period Autoreload value
Mode Counting direction
Clock division cares only about inputs to timer
Enable Start timer in init sequence
One Pulse Set One Pulse Mode
ARR Preload
Clear Flags Clears IRQ flags in init routine

Interrupt settings
IRQ Update Trigger Break COM Capture / Compare 1 Capture / Compare 2 Capture / Compare 3 Capture / Compare 4
DMA request
DMA Update Trigger Break COM Capture / Compare 1 Capture / Compare 2 Capture / Compare 3 Capture / Compare 4

Output compare
EnableModePolarityPulsepreload
Channel 1 Output channels

Input Capture
UsePolaritySelectionPrescalerFilter
Channel 1

Another functions
Deinit Deinitialize timer before setup


annotations:
STM32F407
CH1 - PA6, PF8
F407 at full speed 84MHz

home