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

CC2430F32RTC 参数 Datasheet PDF下载

CC2430F32RTC图片预览
型号: CC2430F32RTC
PDF下载: 下载PDF文件 查看货源
内容描述: 真正的系统级芯片解决方案的2.4 GHz IEEE 802.15.4 / ZigBee的 [A True System-on-Chip solution for 2.4 GHz IEEE 802.15.4 / ZigBee]
分类和应用: 电信集成电路
文件页数/大小: 212 页 / 1862 K
品牌: TAOS [ TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS ]
 浏览型号CC2430F32RTC的Datasheet PDF文件第97页浏览型号CC2430F32RTC的Datasheet PDF文件第98页浏览型号CC2430F32RTC的Datasheet PDF文件第99页浏览型号CC2430F32RTC的Datasheet PDF文件第100页浏览型号CC2430F32RTC的Datasheet PDF文件第102页浏览型号CC2430F32RTC的Datasheet PDF文件第103页浏览型号CC2430F32RTC的Datasheet PDF文件第104页浏览型号CC2430F32RTC的Datasheet PDF文件第105页  
CC2430  
Peripherals  
:
16-bit timer, Timer1  
T1CC0  
0000h  
OVFL  
OVFL  
Figure 22 : Up/down mode  
13.6.6  
Channel Mode Control  
The channel mode is set with each channel’s  
control and status register T1CCTLn. The  
settings include input capture and output  
compare modes.  
13.6.7  
Input Capture Mode  
When a channel is configured as an input  
capture channel, the I/O pin associated with  
that channel, is configured as an input. After  
the timer has been started, a rising edge,  
falling edge or any edge on the input pin will  
trigger a capture of the 16-bit counter contents  
into the associated capture register. Thus the  
timer is able to capture the time when an  
external event takes place.  
The channel input pin is synchronized to the  
internal system clock. Thus pulses on the input  
pin must have a minimum duration greater  
than the system clock period.  
The contents of the 16-bit capture register is  
read out from registers T1CCnH:T1CCnL.  
When the capture takes place the IRCON.T1IF  
flag is set together with the interrupt flag for  
the channel is set. These bits are  
T1CTL.CH0IF for channel 0, T1CTL.CH1IF  
for channel 1, and T1CTL.CH2IF for channel  
2. An interrupt request is generated if the  
Note: Before an I/O pin can be used by the  
timer, the required I/O pin must be configured  
as a Timer 1 peripheral pin as described in  
section 13.4.5 on page 79 .  
corresponding  
interrupt  
mask  
bit  
on  
T1CCTL0.IM, T1CCTL1.IM, or T1CCTL2.IM,  
respectively, is set together with IEN1.T1EN.  
13.6.8  
Output Compare Mode  
In output compare mode the I/O pin associated  
with a channel is set as an output. After the  
timer has been started, the contents of the  
counter are compared with the contents of the  
channel compare register T1CCnH:T1CCnL. If  
the compare register equals the counter  
contents, the output pin is set, reset or toggled  
according to the compare output mode setting  
of T1CCTLn.CMP. Note that all edges on  
output pins are glitch-free when operating in a  
given output compare mode. Writing to the  
compare register T1CCnLis buffered so that a  
value written to T1CCnL does not take effect  
until the corresponding high order register,  
T1CCnHis written. For output compare modes  
1-3, a new value written to the compare  
register T1CCnH:T1CCnLtakes effect after the  
registers have been written. For other output  
compare modes the new value written to the  
compare register takes effect when the timer  
reaches 0x0000.  
Note that channel 0 has fewer output compare  
modes because T1CC0H:T1CC0L has  
a
special function in modes 6 and 7, meaning  
these modes would not be useful for channel  
0.  
When a compare occurs, the interrupt flag for  
the channel is set. These bits are  
T1CTL.CH0IF for channel 0, T1CTL.CH1IF  
for channel 1, and T1CTL.CH2IF for channel  
2,  
and  
the  
common  
interrupt  
flag  
IRCON.T1IF. An interrupt request is  
generated if the corresponding interrupt mask  
bit on T1CCTL0.IM, T1CCTL1.IM, or  
T1CCTL2.IM, respectively, is set together with  
IRCON.T1IF. When operating in up-down  
mode, the interrupt flag for channel 0 is set  
CC2430 Data Sheet (rev. 2.1) SWRS036F  
Page 101 of 211  
 复制成功!