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

PIC17LC42-16I/JW 参数 Datasheet PDF下载

PIC17LC42-16I/JW图片预览
型号: PIC17LC42-16I/JW
PDF下载: 下载PDF文件 查看货源
内容描述: 高性能8位CMOS EPROM / ROM微控制器 [High-Performance 8-Bit CMOS EPROM/ROM Microcontroller]
分类和应用: 微控制器可编程只读存储器电动程控只读存储器
文件页数/大小: 240 页 / 1141 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第33页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第34页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第35页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第36页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第38页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第39页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第40页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第41页  
PIC17C4X  
6.2.2.2  
CPU STATUS REGISTER (CPUSTA)  
The CPUSTA register contains the status and control  
bits for the CPU. This register is used to globally  
enable/disable interrupts. If only a specific interrupt is  
desired to be enabled/disabled, please refer to the  
INTerrupt STAtus (INTSTA) register and the Peripheral  
Interrupt Enable (PIE) register. This register also indi-  
cates if the stack is available and contains the  
Power-down (PD) and Time-out (TO) bits. The TO, PD,  
and STKAV bits are not writable.These bits are set and  
cleared according to device logic. Therefore, the result  
of an instruction with the CPUSTA register as destina-  
tion may be different than intended.  
FIGURE 6-8: CPUSTA REGISTER (ADDRESS: 06h, UNBANKED)  
U - 0  
U - 0  
R - 1  
STKAV GLINTD  
R/W - 1  
R - 1  
TO  
R - 1  
PD  
U - 0  
U - 0  
R = Readable bit  
W = Writable bit  
U = Unimplemented bit,  
Read as ‘0’  
bit7  
bit0  
- n = Value at POR reset  
bit 7-6: Unimplemented: Read as '0'  
bit 5:  
STKAV: Stack Available bit  
This bit indicates that the 4-bit stack pointer value is Fh, or has rolled over from Fh0h (stack overflow).  
1 = Stack is available  
0 = Stack is full, or a stack overflow may have occurred (Once this bit has been cleared by a  
stack overflow, only a device reset will set this bit)  
bit 4:  
GLINTD: Global Interrupt Disable bit  
This bit disables all interrupts. When enabling interrupts, only the sources with their enable bits set can  
cause an interrupt.  
1 = Disable all interrupts  
0 = Enables all un-masked interrupts  
bit 3:  
bit 2:  
TO: WDT Time-out Status bit  
1 = After power-up or by a CLRWDTinstruction  
0 = A Watchdog Timer time-out occurred  
PD: Power-down Status bit  
1 = After power-up or by the CLRWDTinstruction  
0 = By execution of the SLEEPinstruction  
bit 1-0: Unimplemented: Read as '0'  
1996 Microchip Technology Inc.  
DS30412C-page 37  
 复制成功!