参数资料
型号: MTA85812S-10I/SS
元件分类: 微控制器/微处理器
英文描述: 8-BIT, OTPROM, 10 MHz, RISC MICROCONTROLLER, PDSO20
封装: 0.209 INCH, PLASTIC, SSOP-20
文件页数: 13/72页
文件大小: 760K
代理商: MTA85812S-10I/SS
MTA85XXX
DS40115C-page 20
1995 Microchip Technology Inc.
8.0
PRESCALER
An 8-bit counter is available as a prescaler for the
T0CKI, or as a post-scaler for the Watchdog Timer.
(Figure 8-1). For simplicity, this counter is being
referred to as "prescaler" throughout this data sheet.
Note that there is only one prescaler available which is
mutually exclusively shared between the T0CKI and
the Watchdog Timer. Thus, a prescaler assignment for
the T0CKI means that there is no prescaler for the
Watchdog Timer, and vice-versa.
The PSA and PS0-PS2 bits in the OPTION register
determine the prescaler assignment and pre-scale
ratio. When assigned to the T0CKI, all instructions
writing to the T0CKI (e.g., CLRF
T0CKI,
MOVWF
T0CKI, BSF T0CKI,x
....etc.) will clear the prescaler.
When assigned to WDT, a CLRWDT instruction will clear
the prescaler along with the Watchdog Timer.
8.1
Switching Prescaler Assignment
Changing prescaler from T0CKI to WDT
The prescaler assignment is fully under software
control, (i.e., it can be changed "on the fly" during
program execution). To avoid an unintended device
RESET, the following instruction sequence must be
executed when changing the prescaler assignment
from T0CKI to WDT:
1. MOVLW
'xx0x0xxx'b
; Select internal
; clock and select new
2. OPTION
; prescaler value. If
; new prescale value
; is = '000' or '001',
; then select any
; other prescale
; value temporarily.
3. CLRF 1
; Clear T0CKI and
; prescaler.
4. MOVLW
xxxx1xxx'b
; Select WDT, do not
; change prescale
; value.
5. OPTION
;
6. CLRWDT
; Clears WDT and
; prescaler.
7. MOVLW
'xxxx1xxx'b
; Select new prescale
; value.
8. OPTION
;
Steps 1 and 2 are only required if an external T0CKI
source is used. Steps 7 and 8 are necessary only if the
desired prescale value is '000' or '001'.
Changing prescaler from WDT to T0CKI
To change prescaler from WDT to T0CKI use the fol-
lowing sequence:
1. CLRWDT
; Clear WDT and
; prescaler.
2. MOVLW
'xxxx0xxx'b ; Select T0CKI, new
; prescale value
; and clock source
3. OPTION
;
FIGURE 8-1:
BLOCK DIAGRAM T0CKI/WDT PRESCALER
T0CKI
RTE
pin
M
U
X
CLKOUT (= Fosc/4)
SYNC
2
Cycles
T0CKI
8-bit Counter
8 - to - 1MUX
M
U
X
M U X
Watchdog
timer
PSA
0
1
0
1
WDT
Time-out
PS2:PS0
Note: RTS, RTE, PSA, PS2-PS0 are bits
PSA
WDT Enable
M
U
X
0
1
0
1
Data Bus
8
PSA
RTS
in the OPTION register.
EEPROM Fuse
相关PDF资料
PDF描述
MB91661PMC 32-BIT, MROM, 33 MHz, RISC MICROCONTROLLER, PQFP120
MPC8266ACZULHDX 32-BIT, 250 MHz, RISC PROCESSOR, PBGA480
MPC8266ACZUPIBX 32-BIT, 300 MHz, RISC PROCESSOR, PBGA480
MPC8266AZULHDX 32-BIT, 250 MHz, RISC PROCESSOR, PBGA480
MPC8266AZUPIBX 32-BIT, 300 MHz, RISC PROCESSOR, PBGA480
相关代理商/技术参数
参数描述
MTA8808 制造商:Pulse Electronics Corporation 功能描述:
MTA8ATF1G64AZ-2G3B1 功能描述:Memory Module DDR4 SDRAM 8GB 2400MT/s 288-UDIMM 制造商:micron technology inc. 系列:- 零件状态:在售 存储器类型:DDR4 SDRAM 存储容量:8GB 速度:2400MT/s 封装/外壳:288-UDIMM 标准包装:1
MTA8ATF1G64HZ-2G3B1 功能描述:Memory Module DDR4 SDRAM 8GB 2400MT/s 260-SODIMM 制造商:micron technology inc. 系列:- 零件状态:在售 存储器类型:DDR4 SDRAM 存储容量:8GB 速度:2400MT/s 封装/外壳:260-SODIMM 标准包装:1
MTA8D50 制造商:Mallory Sonalert Products Inc 功能描述:Molded Tubular Aluminum Electrolytic Axial Leads Capacitor - 8uF 50dcV -10+100%
MTA90A 制造商:LIUJING 制造商全称:LIUJING 功能描述:可控硅(晶闸管)