欢迎访问ic37.com |
会员登录 免费注册
发布采购

C8051F502-IM 参数 Datasheet PDF下载

C8051F502-IM图片预览
型号: C8051F502-IM
PDF下载: 下载PDF文件 查看货源
内容描述: 混合信号ISP功能的Flash MCU系列 [Mixed Signal ISP Flash MCU Family]
分类和应用: 微控制器和处理器外围集成电路PC时钟
文件页数/大小: 312 页 / 2813 K
品牌: SILICON [ SILICON ]
 浏览型号C8051F502-IM的Datasheet PDF文件第264页浏览型号C8051F502-IM的Datasheet PDF文件第265页浏览型号C8051F502-IM的Datasheet PDF文件第266页浏览型号C8051F502-IM的Datasheet PDF文件第267页浏览型号C8051F502-IM的Datasheet PDF文件第269页浏览型号C8051F502-IM的Datasheet PDF文件第270页浏览型号C8051F502-IM的Datasheet PDF文件第271页浏览型号C8051F502-IM的Datasheet PDF文件第272页  
C8051F50x-F51x  
CKCO N  
TM O D  
IT01CF  
G
A
T
E
1
C
/
T
1
T
1
M
1
T
1
M
0
G
A
T
E
0
C
/
T
0
T
0
M
1
T
0
M
0
I
I
I
I
I
I
I
I
T
3
T
3
T
2
T
2
T
1
T
0
S S  
C C  
N
1
P
L
N
1
S
L
2
N
1
S
L
1
N
1
S
L
0
N
0
P
L
N
0
S
L
2
N
0
S
L
1
N
0
S
L
0
M M M M M M A  
H
A
0
L
H
L
1
Pre-scaled Clock  
SYSCLK  
0
1
0
1
TF1  
TR1  
TF0  
TR0  
IE1  
T0  
Interrupt  
TCLK  
TL0  
(5 bits)  
TH 0  
(8 bits)  
TR 0  
IT1  
G ATE0  
IE0  
IT0  
Crossbar  
IN 0PL  
XO R  
/INT0  
Figure 26.1. T0 Mode 0 Block Diagram  
26.1.2. Mode 1: 16-bit Counter/Timer  
Mode 1 operation is the same as Mode 0, except that the counter/timer registers use all 16 bits. The coun-  
ter/timers are enabled and configured in Mode 1 in the same manner as for Mode 0.  
26.1.3. Mode 2: 8-bit Counter/Timer with Auto-Reload  
Mode 2 configures Timer 0 and Timer 1 to operate as 8-bit counter/timers with automatic reload of the start  
value. TL0 holds the count and TH0 holds the reload value. When the counter in TL0 overflows from all  
ones to 0x00, the timer overflow flag TF0 (TCON.5) is set and the counter in TL0 is reloaded from TH0. If  
Timer 0 interrupts are enabled, an interrupt will occur when the TF0 flag is set. The reload value in TH0 is  
not changed. TL0 must be initialized to the desired value before enabling the timer for the first count to be  
correct. When in Mode 2, Timer 1 operates identically to Timer 0.  
Both counter/timers are enabled and configured in Mode 2 in the same manner as Mode 0. Setting the  
TR0 bit (TCON.4) enables the timer when either GATE0 (TMOD.3) is logic 0 or when the input signal INT0  
is active as defined by bit IN0PL in register IT01CF (see Section “14.3. External Interrupts INT0 and INT1”  
on page 126 for details on the external input signals INT0 and INT1).  
268  
Rev. 1.1  
 复制成功!