參數(shù)資料
型號: PIC12C671-04/P
廠商: Microchip Technology
文件頁數(shù): 68/129頁
文件大小: 0K
描述: IC MCU OTP 1KX14 A/D 8DIP
產(chǎn)品培訓模塊: Asynchronous Stimulus
8-bit PIC® Microcontroller Portfolio
標準包裝: 60
系列: PIC® 12C
核心處理器: PIC
芯體尺寸: 8-位
速度: 4MHz
外圍設(shè)備: POR,WDT
輸入/輸出數(shù): 5
程序存儲器容量: 1.75KB(1K x 14)
程序存儲器類型: OTP
RAM 容量: 128 x 8
電壓 - 電源 (Vcc/Vdd): 3 V ~ 5.5 V
數(shù)據(jù)轉(zhuǎn)換器: A/D 4x8b
振蕩器型: 內(nèi)部
工作溫度: 0°C ~ 70°C
封裝/外殼: 8-DIP(0.300",7.62mm)
包裝: 管件
配用: ISPICR1-ND - ADAPTER IN-CIRCUIT PROGRAMMING
AC124001-ND - MODULE SKT PROMATEII 8DIP/SOIC
1999 Microchip Technology Inc.
DS30561B-page 43
PIC12C67X
7.3.1
SWITCHING PRESCALER ASSIGNMENT
The prescaler assignment is fully under software con-
trol, (i.e., it can be changed “on-the-fly” during program
execution).
EXAMPLE 7-1:
CHANGING PRESCALER
(TIMER0
→WDT)
BCF
STATUS, RP0
;Bank 0
CLRF
TMR0
;Clear TMR0 & Prescaler
BSF
STATUS, RP0
;Bank 1
CLRWDT
;Clears WDT
MOVLW
b’xxxx1xxx’
;Select new prescale
MOVWF
OPTION_REG
;value & WDT
BCF
STATUS, RP0
;Bank 0
Note:
To avoid an unintended device RESET, the
following instruction sequence (shown in
Example 7-1) must be executed when
changing the prescaler assignment from
Timer0 to the WDT. This sequence must
be followed even if the WDT is disabled.
To change prescaler from the WDT to the Timer0 mod-
ule, use the sequence shown in Example 7-2.
EXAMPLE 7-2:
CHANGING PRESCALER
(WDT
→TIMER0)
CLRWDT
;Clear WDT and
;prescaler
BSF
STATUS, RP0 ;Bank 1
MOVLW
b’xxxx0xxx’ ;Select TMR0, new
;prescale value and
MOVWF
OPTION_REG
;clock source
BCF
STATUS, RP0 ;Bank 0
TABLE 7-1:
REGISTERS ASSOCIATED WITH TIMER0
Address Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Value on
POR
Value on
all other
Resets
01h
TMR0
Timer0 module’s register
xxxx xxxx
uuuu uuuu
0Bh/8Bh
INTCON
GIE
PEIE
T0IE
INTE
GPIE
T0IF
INTF
GPIF
0000 000x
0000 000u
81h
OPTION
GPPU
INTEDG
T0CS
T0SE
PSA
PS2
PS1
PS0
1111 1111
85h
TRIS
TRIS5
TRIS4
TRIS3
TRIS2
TRIS1
TRIS0
--11 1111
Legend: x = unknown, u = unchanged, - = unimplemented locations read as '0'. Shaded cells are not used by Timer0.
相關(guān)PDF資料
PDF描述
PIC18F4610T-I/ML IC MCU FLASH 32KX16 44QFN
PIC18F4610-E/PT IC MCU FLASH 32KX16 44TQFP
PIC18F4610-E/ML IC MCU FLASH 32KX16 44QFN
PIC18LF2331T-I/SO IC MCU FLASH 4KX16 28SOIC
PIC18F4515T-I/PT IC MCU FLASH 24KX16 44TQFP
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
PIC12C671-10 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:8-Pin, 8-Bit CMOS Microcontroller with A/D Converter
PIC12C671-10/JM 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:8-Pin, 8-Bit CMOS Microcontroller with A/D Converter
PIC12C671-10/JW 制造商:未知廠家 制造商全稱:未知廠家 功能描述:MICROCONTROLLER|8-BIT|PIC CPU|CMOS|DIP|8PIN|CERAMIC
PIC12C671-10/P 功能描述:8位微控制器 -MCU 1.75KB 128 RAM 6 I/O 10MHz PDIP8 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 安裝風格:SMD/SMT
PIC12C671-10/P 制造商:Microchip Technology Inc 功能描述:IC 8BIT CMOS MCU 12C671 DIP8