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

CC2430DK 参数 Datasheet PDF下载

CC2430DK图片预览
型号: CC2430DK
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 ]
 浏览型号CC2430DK的Datasheet PDF文件第45页浏览型号CC2430DK的Datasheet PDF文件第46页浏览型号CC2430DK的Datasheet PDF文件第47页浏览型号CC2430DK的Datasheet PDF文件第48页浏览型号CC2430DK的Datasheet PDF文件第50页浏览型号CC2430DK的Datasheet PDF文件第51页浏览型号CC2430DK的Datasheet PDF文件第52页浏览型号CC2430DK的Datasheet PDF文件第53页  
CC2430  
8051 CPU : Interrupts  
Table 29: Instructions that affect flag settings  
Instruction  
ADD  
CY  
OV  
AC  
x
x
x
0
0
x
x
x
1
x
x
x
x
x
x
x
x
x
x
x
x
-
-
-
-
-
-
-
-
-
-
-
-
-
-
ADDC  
x
x
x
x
-
SUBB  
MUL  
DIV  
DA  
RRC  
-
RLC  
-
SETB C  
CLR C  
CPL C  
ANL C,bit  
ANL C,/bit  
ORL C,bit  
ORL C,/bit  
MOV C,bit  
CJNE  
-
-
-
-
-
-
-
-
-
“0”=set to 0, “1”=set to 1, “x”=set to 0/1, “-“=not affected  
11.5 Interrupts  
The CPU has 18 interrupt sources. Each  
source has its own request flag located in a set  
of Interrupt Flag SFR registers. Each interrupt  
requested by the corresponding flag can be  
individually enabled or disabled. The  
definitions of the interrupt sources and the  
interrupt vectors are given in Table 30.  
The interrupts are grouped into a set of priority  
level groups with selectable priority levels.  
The interrupt enable registers are described in  
section 11.5.1 and the interrupt priority settings  
are described in section 11.5.3 on page 57.  
11.5.1  
Interrupt Masking  
Each interrupt can be individually enabled or  
disabled by the interrupt enable bits in the  
Interrupt Enable SFRs IEN0, IEN1and IEN2.  
The CPU Interrupt Enable SFRs are described  
below and summarized in Table 30.  
1. Clear interrupt flags  
2. Set individual interrupt enable bit in  
the peripherals SFR register, if any.  
3. Set the corresponding individual,  
interrupt enable bit in the IEN0, IEN1  
or IEN2registers to 1.  
4. Enable global interrupt by setting the  
EA bit in IEN0to 1  
5. Begin the interrupt service routine at  
the corresponding vector address of  
that interrupt. See Table 30 for  
addresses  
Note that some peripherals have several  
events that can generate the interrupt request  
associated with that peripheral. This applies to  
Port 0, Port 1, Port 2, Timer 1, Timer2, Timer  
3, Timer 4 and Radio. These peripherals have  
interrupt mask bits for each internal interrupt  
source in the corresponding SFR registers.  
Figure 10 gives a complete overview of all  
interrupt sources and associated control and  
state registers. Shaded boxes are interrupt  
flags that are automatically cleared by HW  
In order to enable any of the interrupts in the  
CC2430, the following steps must be taken:  
when interrupt service routine is called.  
indicates a one-shot, either due to the level  
source or due to edge shaping. For the  
CC2430 Data Sheet (rev. 2.1) SWRS036F  
Page 49 of 211