參數(shù)資料
型號: PIC16F688
英文描述: Tips 'n Tricks
中文描述: 提示\u0026#39;東經(jīng)訣竅
文件頁數(shù): 29/44頁
文件大?。?/td> 935K
代理商: PIC16F688
Tips ‘n Tricks
=OMMP=jáêáé=qó=fK
apQMMQM_Jé~=PN
TIP #17 Conditional Bit Set/Clear
To move single bit of data from REGA to REGB
Precondition REGB bit
Test REGA bit and fix REGB if necessary
One technique for moving one bit from the REGA
register to REGB is to perform bit tests. In the first
example, the bit in REGA is tested using a BTFSS
instruction. If the bit is clear, the BCF instruction is
executed and clears the REGB bit, and if the bit is
set, the instruction is skipped.The second bit test
determines if the bit is set, and if so, will execute
the BSF and set the REGB bit, otherwise the
instruction is skipped. This sequence requires four
instructions.
BTFSS
BCF
BTFSC
BSF
BCF
BTFSC
BSF
REGA,2
REGB,5
REGA,2
REGB,5
REGA,2
REGB,5
4 instructions
3 instructions
相關(guān)PDF資料
PDF描述
PIC16F83A-10/P 8-BIT, FLASH, 10 MHz, RISC MICROCONTROLLER, PDIP18
PIC16LF83A-04I/SO 8-BIT, FLASH, 2 MHz, RISC MICROCONTROLLER, PDSO18
PIC16LC716-04/SS 8-BIT, OTPROM, 4 MHz, RISC MICROCONTROLLER, PDSO20
PIC17C43 PIC17C42/42A/43/44/CR42A/CR43 Datasheet
PIC17C75X Micropower Precision Series Reference Family; Package: SOT; No of Pins: 3; Temperature Range: 0°C to +70°C
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
PIC16F688-E/ML 功能描述:8位微控制器 -MCU 7KB 256 RAM 12I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
PIC16F688-E/P 功能描述:8位微控制器 -MCU 7KB 256 RAM 12 I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
PIC16F688-E/SL 功能描述:8位微控制器 -MCU 7KB 256 RAM 12 I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
PIC16F688-E/ST 功能描述:8位微控制器 -MCU 7KB 256 RAM 12 I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
PIC16F688-I/ML 功能描述:8位微控制器 -MCU 7KB 256 RAM 12I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT