参数资料
型号: PIC10F202T-I/PG
元件分类: 微控制器/微处理器
英文描述: 8-BIT, FLASH, 4 MHz, RISC MICROCONTROLLER, PDIP8
封装: 0.300 INCH, LEAD FREE, PLASTIC, MS-001, DIP-8
文件页数: 14/88页
文件大小: 1127K
代理商: PIC10F202T-I/PG
2004 Microchip Technology Inc.
Preliminary
DS41239A-page 19
PIC10F200/202/204/206
4.4
Status Register
This register contains the arithmetic status of the ALU,
the Reset status and the page preselect bit.
The Status register can be the destination for any
instruction, as with any other register. If the Status
register is the destination for an instruction that affects
the Z, DC or C bits, then the write to these three bits is
disabled. These bits are set or cleared according to the
device logic. Furthermore, the TO and PD bits are not
writable. Therefore, the result of an instruction with the
Status register as destination may be different than
intended.
For example, CLRF STATUS, will clear the upper three
bits and set the Z bit. This leaves the Status register as
000u u1uu
(where u = unchanged).
Therefore, it is recommended that only BCF, BSF and
MOVWF
instructions be used to alter the Status register.
These instructions do not affect the Z, DC or C bits from
the Status register. For other instructions which do
affect Status bits, see Section 10.0 “Instruction Set
REGISTER 4-1:
STATUS REGISTER (ADDRESS: 03h)
R/W-0
R-1
R/W-x
GPWUF
CWUF(1)
—TO
PD
ZDC
C
bit 7
bit 0
bit 7
GPWUF: GPIO Reset bit
1
= Reset due to wake-up from Sleep on pin change
0
= After power-up or other Reset
bit 6
CWUF: Comparator Wake-up on Change Flag Bit(1)
1
= Reset due to wake-up from Sleep on comparator change
0
= After power-up or other Reset conditions.
bit 5
Reserved: Do not use. Use of this bit may affect upward compatibility with future products.
bit 4
TO: Time-out bit
1
= After power-up, CLRWDT instruction or SLEEP instruction
0
= A WDT time-out occurred
bit 3
PD: Power-down bit
1
= After power-up or by the CLRWDT instruction
0
= By execution of the SLEEP instruction
bit 2
Z: Zero bit
1
= The result of an arithmetic or logic operation is zero
0
= The result of an arithmetic or logic operation is not zero
bit 1
DC: Digit carry/borrow bit (for ADDWF and SUBWF instructions)
ADDWF:
1
= A carry from the 4th low-order bit of the result occurred
0
= A carry from the 4th low-order bit of the result did not occur
SUBWF:
1
= A borrow from the 4th low-order bit of the result did not occur
0
= A borrow from the 4th low-order bit of the result occurred
bit 0
C: Carry/borrow bit (for ADDWF, SUBWF and RRF, RLF instructions)
ADDWF:
SUBWF:
RRF
or RLF:
1
= A carry occurred
1
= A borrow did not occur Load bit with LSb or MSb, respectively
0
= A carry did not occur
0
= A borrow occurred
Note 1: This bit is used on the PIC10F204/206. For code compatibility do not use this bit on
the PIC10F200/202.
Legend:
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
-n = Value at POR
‘1’ = Bit is set
‘0’ = Bit is cleared
x = Bit is unknown
相关PDF资料
PDF描述
PIC10F222T-E/OT 8-BIT, FLASH, 8 MHz, RISC MICROCONTROLLER, PDSO6
PIC10F322T-I/OT 8-BIT, FLASH, 20 MHz, RISC MICROCONTROLLER, PDSO6
PIC12F635T-E/SN 8-BIT, FLASH, 20 MHz, RISC MICROCONTROLLER, PDSO8
PIC16C65B-04I/PQ 8-BIT, OTPROM, 4 MHz, RISC MICROCONTROLLER, PQFP44
PIC16C73BT-20E/SS 8-BIT, OTPROM, 20 MHz, RISC MICROCONTROLLER, PDSO28
相关代理商/技术参数
参数描述
PIC10F204 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:6-Pin, 8-Bit Flash Microcontrollers
PIC10F204-E/MC 功能描述:8位微控制器 -MCU 384B Flash16B RAM 4 I/O Comparator RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC10F204-E/OT 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:6-Pin, 8-Bit Flash Microcontrollers
PIC10F204-E/P 功能描述:8位微控制器 -MCU .375kBF 16RM 4I/O Ext Temp PDIP8 RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC10F204-I/MC 功能描述:8位微控制器 -MCU 0.375KB 16B RAM RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT