Difference between revisions of "STM32 Timers"
Jump to navigation
Jump to search
Line 12: | Line 12: | ||
# the reference manual | # the reference manual | ||
− | Each [[STM32]] [[MCU]] have a datasheet, which always provide an overview of the available timers for that specific [[MCU]], and a reference manual which provide all the details. | + | Each [[STM32]] [[MCU]] have a datasheet, which always provide an overview of the available timers for that specific [[MCU]], and a reference manual which provide all the details. If we look at the [https://www.st.com/resource/en/datasheet/stm32f103c8.pdf datasheet] for the [[STM32F103]] [[MCU]], we will find the following on the very first page (Features): |
+ | |||
+ | [[File:STM32F103 Features Timers.png|400px]] | ||
+ | |||
+ | In section 2.3.15 we will find the following: | ||
+ | |||
+ | [[File:STM32F103 Timers and watchdogs.png|600px]] | ||
== Basic Timer Operation == | == Basic Timer Operation == |
Revision as of 05:01, 12 September 2021
What is a timer?
To be added
How to find the documentation
As mentioned elsewhere, ST manufacture an incredible number of different STM32 MCUs. It might appear hard to find the information about the one specific MCU one is working on. There are in principle _two_ sources of documentation:
- the datasheet
- the reference manual
Each STM32 MCU have a datasheet, which always provide an overview of the available timers for that specific MCU, and a reference manual which provide all the details. If we look at the datasheet for the STM32F103 MCU, we will find the following on the very first page (Features):
In section 2.3.15 we will find the following:
Basic Timer Operation
To be added
Pulse Width Modulation
See STM32 Pulse Width Modulation.