STM32F4 Timer simplified block diagram

Timers TIM1 and TIM8 use 16-bit counters and are the most complex timers of all timers included in the microcontroller.
Timers TIM2 and TIM5 are 32-bit versions of TIM1/TIM8, but have less hardware included and therefore less options.
Timers TIM3 and TIM4 are 16-bit versions of TIM2/TIM5.
Timers TIM9, TIM10 and on are stripped-down versions of timer TIM4, and so on.
A simplified block diagram for timer TIM2 is given in Fig. 9.2 (reference manual RM0090, Figure 134, page 577).
The content of the counter CNT (yellow) is available in register TIM2_CNT.

The counter advances on transitions of the clock signal CK_PSC.
This clock signal comes through a set of modules (light blue boxes and light green multiplexors) at the top of Fig. 9.2.
Several signals are offered to become the source of the clock signal, and multiplexors select one of them as the ‘CK_PSC’.
The user can configure multiplexors to pass signals connected to pins marked TIMx_CH1 to TIMx_CH4 or TIMx_ETR.
Alternatively, multiplexors can be configured to pass internally generated signals ITR0 to ITR3
or even internal clock signal CK_INT as a clock CK_PSC.
The counter can also be fed by some internally derived signals like TI1FP1, TI2FP2, and then some.
Details are given in reference manual RM0090, chapter 18.
Due to the availability of pins at the STM32F4-Discovery board and the limitations imposed by the BaseBoard
we will use pin 15, port A, and designate it as a source of signal TIM2_ETR,
which will in turn be routed through multiplexors to become the clock signal CK_PSC.
This pin is available at the connector K406 at the edge of the BaseBoard.
The timer block houses additional sub-blocks, which will not be used in this experiment on counting.
These blocks include prescaler modules, capture and compare modules, output modules and reload logic;
this will be used in subsequent experiments.
STM32F4 Timer simplified block diagram的更多相关文章
- (STM32F4) Timer Compare mode 操作
Timer 比較模式(compare) 具體會用在哪種狀況目前還沒有這種經驗,但Compare有配置功能pin想必有應用會用到這個模式 從Function Block來看比較模式比基本Timer多了比 ...
- (STM32F4) Timer 基本操作
Timer (計時器) 就是慢慢數時間,在timer內部有一個計數器. 而計數器會數到Register的value當數值數到設定值Timer就會發起IRQ 而程式就會轉跳到中斷向量裡頭去執行想要做的事 ...
- STM32F4 Timer Internal Trigger Connection
The Timers can be cascaded to make more complex timing relationships, or longer periods. Internally ...
- STM32F4 Timer External Clock TI2 Both Edges Demo
#define CLK_FREQ ( 10000 ) #define CORE_FREQ ( 168000000 ) static void TIM_GPIO_Config( void ) { GPI ...
- PatentTips - Highly-available OSPF routing protocol
BACKGROUND OF THE INVENTION FIG. 1A is a simplified block diagram schematically representing a typic ...
- Linux时间子系统之(十四):tick broadcast framework
专题文档汇总目录 Notes:BroadcastTick作为cpuidle的waker,硬件基础.BroadcastTick嵌入在当前系统Tick框架中.BroadcastTick设备初始化:周期性T ...
- PID DC/DC Converter Controller Using a PICmicro Microcontroller
http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1824&appnote=en011794 ...
- Linux时间子系统(十四) tick broadcast framework
一.前言 在内核中,有cpuidle framework可以控制cpu的节电:当没有进程调度到该cpu上执行的时候,swapper进程粉墨登场,将该cpu会被推入到idle状态.当然CPU的idle状 ...
- Application binary interface and method of interfacing binary application program to digital computer
An application binary interface includes linkage structures for interfacing a binary application pro ...
随机推荐
- 第11月第23天 markedTextRange 崩溃
1. 在对textView.textField限制文字长度时,如果不做特殊处理,当联想文字加上已输入文字超出设定长度时,iOS 7.0系统会崩溃(ios 8.0以上系统做了处理,不会崩溃). http ...
- MongoDB 之 Limit 选取 Skip 跳过 Sort 排序 MongoDB - 7
我们已经学过MongoDB的 find() 查询功能了,在关系型数据库中的选取(limit),排序(sort) MongoDB中同样有,而且使用起来更是简单 首先我们看下添加几条Document进来 ...
- 01 workerman之GatewayWorker框架简单使用
1.GatewayWorker框架是什么? GatewayWorker基于Workerman开发的一个项目框架,用于快速开发TCP长连接应用,例如app推送服务端.即时IM服务端.游戏服务端.物联网. ...
- 字符串对象的charAt函数存在的意义
var style = ""; style[0] //undefined var style = ""; style.charAt(0); //"&q ...
- 【密码学】RSA算法过程-求解密钥
1.密钥的计算获取过程 密钥的计算过程为:首先选择两个质数p和q,令n=p*q. 令k=ϕ(n)=(p−1)(q−1),原理见2的分析 选择任意整数d,保证其与k互质 取整数e,使得[de]k=[1] ...
- 巧用PHP双$功能兼容线上线下配置文件
2014年2月8日 19:27:05 情景: 开发过程中线上和线下的配置文件中的值是不一样的 例如:线上生产环境的样式域名为ie.style.abc.com,而开发环境为ie.style.abc.ne ...
- LeetCode(16):最接近的三数之和
Medium! 题目描述: 给定一个包括 n 个整数的数组 nums 和 一个目标值 target.找出 nums 中的三个整数,使得它们的和与 target 最接近.返回这三个数的和.假定每组输入只 ...
- docker:一个支持django的dockerfile
其中,包括了主要的生产环境模块, 从alpine作起,镜像不大.保存用. FROM alpine:3.7 COPY . /target-dir WORKDIR /target-dir RUN sed ...
- 直接以管理员身份运行bat代码
https://www.cnblogs.com/dengpeng1004/p/7044441.html
- PYTHON 写入list并换行的方法
f.writelines(lists) 是不换行的写入,可用以下方法在写入时换行. 方法一: for line in lists: f.write(line+'\n') 方法二: lists=[lin ...