參數(shù)資料
型號: PIC10F220EOT
廠商: Microchip Technology Inc.
英文描述: 6-Pin, 8-Bit Flash Microcontrollers
中文描述: 6引腳,8位閃存微控制器
文件頁數(shù): 30/78頁
文件大?。?/td> 583K
代理商: PIC10F220EOT
PIC10F220/222
DS41270B-page 28
Preliminary
2006 Microchip Technology Inc.
6.2.1
SWITCHING PRESCALER
ASSIGNMENT
The prescaler assignment is fully under software
control (i.e., it can be changed “on-the-fly” during pro-
gram execution). To avoid an unintended device Reset,
the following instruction sequence (Example 6-1) must
be executed when changing the prescaler assignment
from Timer0 to the WDT.
EXAMPLE 6-1:
CHANGING PRESCALER
(TIMER0
WDT)
;Clear WDT
;Clear TMR0 & Prescaler
‘00xx1111’b ;These 3 lines (5, 6, 7)
;are required only if
;desired
;PS<2:0> are 000 or 001
‘00xx1xxx’b ;Set Postscaler to
;desired WDT rate
To change prescaler from the WDT to the Timer0
module, use the sequence shown in Example 6-2. This
sequence must be used even if the WDT is disabled. A
CLRWDT
instruction should be executed before
switching the prescaler.
EXAMPLE 6-2:
CHANGING PRESCALER
(WDT
TIMER0)
FIGURE 6-5:
BLOCK DIAGRAM OF THE TIMER0/WDT PRESCALER
CLRWDT
CLRF
MOVLW
OPTION
TMR0
CLRWDT
MOVLW
OPTION
CLRWDT
;Clear WDT and
;prescaler
;Select TMR0, new
;prescale value and
;clock source
MOVLW
‘xxxx0xxx’
OPTION
T
CY
(= F
OSC
/4)
Sync
2
Cycles
TMR0 Reg
8-bit Prescaler
8-to-1 MUX
M
U
X
MUX
Watchdog
Timer
PSA
(1)
0
1
0
1
WDT
Time-Out
PS<2:0>
(1)
8
PSA
(1)
WDT Enable bit
0
1
0
1
Data Bus
8
PSA
(1)
T0CS
(1)
M
U
X
M
U
X
T0SE
(1)
GP2/T0CKI
(2)
Pin
Note 1:
T0CS, T0SE, PSA, PS<2:0> are bits in the OPTION register.
T0CKI is shared with pin GP2 on the PIC10F220/222.
2:
相關(guān)PDF資料
PDF描述
PIC10F220EP 6-Pin, 8-Bit Flash Microcontrollers
PIC10F220IOT 6-Pin, 8-Bit Flash Microcontrollers
PIC10F220IP 6-Pin, 8-Bit Flash Microcontrollers
PIC12C67X 8-Pin, 8-Bit CMOS Microcontroller with A/D Converter and EEPROM Data Memory
pic12ce674 8-Pin, 8-Bit CMOS Microcontroller with A/D Converter(具A/D轉(zhuǎn)換器和EEPROM數(shù)據(jù)存儲器的8位微控制器)
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
PIC10F220EP 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:6-Pin, 8-Bit Flash Microcontrollers
PIC10F220-I 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:High-Performance Microcontrollers with 8-bit A/D
PIC10F220I/MC 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:High-Performance Microcontrollers with 8-bit A/D
PIC10F220-I/MC 功能描述:8位微控制器 -MCU 0.375KB 16B RAM 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
PIC10F220I/OT 制造商:MICROCHIP 制造商全稱:Microchip Technology 功能描述:High-Performance Microcontrollers with 8-bit A/D