参数资料
型号: TOOLSTICK300SPP
厂商: Silicon Laboratories Inc
文件页数: 59/178页
文件大小: 0K
描述: TOOLSTICK PROGRAMMING ADAPTER
标准包装: 1
系列: ToolStick
类型: 微控制器编程器
适用于相关产品: C8051F300
所含物品: 2 个板和 USB 连接线缆
Rev. 2.9
151
C8051F300/1/2/3/4/5
15.2. Timer 2
Timer 2 is a 16-bit timer formed by two 8-bit SFRs: TMR2L (low byte) and TMR2H (high byte). Timer 2 may
operate in 16-bit auto-reload mode or (split) 8-bit auto-reload mode. The T2SPLIT bit (TMR2CN.3) defines
the Timer 2 operation mode.
Timer 2 may be clocked by the system clock, the system clock divided by 12, or the external oscillator
source divided by 8. The external clock mode is ideal for real-time clock (RTC) functionality, where the
internal oscillator drives the system clock while Timer 2 (and/or the PCA) is clocked by an external preci-
sion oscillator. Note that the external oscillator source divided by 8 is synchronized with the system clock.
15.2.1. 16-bit Timer with Auto-Reload
When T2SPLIT (TMR2CN.3) is zero, Timer 2 operates as a 16-bit timer with auto-reload. Timer 2 can be
clocked by SYSCLK, SYSCLK divided by 12, or the external oscillator clock source divided by 8. As the
16-bit timer register increments and overflows from 0xFFFF to 0x0000, the 16-bit value in the Timer 2
reload registers (TMR2RLH and TMR2RLL) is loaded into the Timer 2 register as shown in Figure 15.4,
and the Timer 2 High Byte Overflow Flag (TMR2CN.7) is set. If Timer 2 interrupts are enabled (if IE.5 is
set), an interrupt will be generated on each Timer 2 overflow. Additionally, if Timer 2 interrupts are enabled
and the TF2LEN bit is set (TMR2CN.5), an interrupt will be generated each time the lower 8 bits (TMR2L)
overflow from 0xFF to 0x00.
External Clock / 8
SYSCLK / 12
SYSCLK
TMR2L
TMR2H
TMR2RLL TMR2RLH
Reload
TCLK
0
1
TR2
TMR2
CN
T2SPLIT
TF2L
TF2H
T2XCLK
TR2
0
1
T2XCLK
CKCON
T
2
M
H
S
C
A
0
S
C
A
1
T
2
M
L
T
1
M
T
0
M
Interrupt
TF2LEN
To ADC,
SMBus
To SMBus
TMR2L
Overflow
Figure 15.4. Timer 2 16-Bit Mode Block Diagram
相关PDF资料
PDF描述
396-070-541-804 CARD EDGE 70POS DL .125X.250 BLK
TOOLSTICK588PP PLATFORM PROG TOOLSTICK F588
EEM22DRKH-S13 CONN EDGECARD 44POS .156 EXTEND
396-070-541-802 CARD EDGE 70POS DL .125X.250 BLK
T95Y476K6R3LSAL CAP TANT 47UF 6.3V 10% 2910
相关代理商/技术参数
参数描述
TOOLSTICK310PP 功能描述:插座和适配器 C8051F310/12/14 F361 F364 F366 F368 RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
TOOLSTICK311DC 功能描述:子卡和OEM板 ToolStick C8051F311 Daughter Card RoHS:否 制造商:BeagleBoard by CircuitCo 产品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
TOOLSTICK311PP 功能描述:插座和适配器 C8051F311/13/15 F362 F365 F367 F369 RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
TOOLSTICK316PP 功能描述:插座和适配器 C8051F316/17 F338 F339 RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
TOOLSTICK320PP 功能描述:插座和适配器 Dev Tool C8051F320 F342 F343 F346 F347 RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x