參數(shù)資料
型號: MTA81010S-XTI/SO
元件分類: 微控制器/微處理器
英文描述: 8-BIT, OTPROM, 4 MHz, RISC MICROCONTROLLER, PDSO28
封裝: 0.300 INCH, SOIC-28
文件頁數(shù): 17/76頁
文件大?。?/td> 745K
代理商: MTA81010S-XTI/SO
MTA81010
DS39005D-page 24
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,
respectively (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 PS2:PS0 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 1, MOVWF 1, BSF 1,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 B'xx0x0xxx'
; 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 B'xxxx1xxx'
; Select WDT, do not change prescale
; value.
5. OPTION
6. CLRWDT
; Clears WDT and prescaler.
7. MOVLW B'xxxx1xxx'
; 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
following sequence:
1. CLRWDT
; Clear WDT and prescaler
2. MOVLW B'xxxx0xxx'
; 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 (f1)
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
相關(guān)PDF資料
PDF描述
MTA81010-LPI/SO 8-BIT, OTPROM, 4 MHz, RISC MICROCONTROLLER, PDSO28
MTA85402-20/SS 8-BIT, OTPROM, 20 MHz, RISC MICROCONTROLLER, PDSO20
MTA85812-04E/SS 8-BIT, OTPROM, 4 MHz, RISC MICROCONTROLLER, PDSO20
MTA85802-10E/SS 8-BIT, OTPROM, 10 MHz, RISC MICROCONTROLLER, PDSO20
MTA85402-20E/SS 8-BIT, OTPROM, 20 MHz, RISC MICROCONTROLLER, PDSO20
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MTA8106DGVRA 功能描述:SW TOGGLE SPDT VERT RT ANG PC 6A RoHS:否 類別:開關(guān) >> 撥動開關(guān) 系列:MTA 綠 標(biāo)準(zhǔn)包裝:1 系列:A 電路:雙刀雙擲 開關(guān)功能:開-開-開 觸點(diǎn)額定電壓:6A @ 125VAC 觸動器類型:扁平型 觸動器長度:11.38mm 發(fā)光:不發(fā)光 安裝類型:面板安裝 端接類型:焊片 軸襯螺紋:1/4-40 包裝:散裝
MTA8106DVRA 功能描述:SWITCH TOGGLE SPDT VRA PC 6A RoHS:否 類別:開關(guān) >> 撥動開關(guān) 系列:MTA 綠 標(biāo)準(zhǔn)包裝:1 系列:A 電路:雙刀雙擲 開關(guān)功能:開-開-開 觸點(diǎn)額定電壓:6A @ 125VAC 觸動器類型:扁平型 觸動器長度:11.38mm 發(fā)光:不發(fā)光 安裝類型:面板安裝 端接類型:焊片 軸襯螺紋:1/4-40 包裝:散裝
MTA8106DVRA04 功能描述:SWITCH TOGGLE SPDT VRA PC 6A RoHS:是 類別:開關(guān) >> 撥動開關(guān) 系列:MTA 綠 標(biāo)準(zhǔn)包裝:1 系列:A 電路:雙刀雙擲 開關(guān)功能:開-開-開 觸點(diǎn)額定電壓:6A @ 125VAC 觸動器類型:扁平型 觸動器長度:11.38mm 發(fā)光:不發(fā)光 安裝類型:面板安裝 端接類型:焊片 軸襯螺紋:1/4-40 包裝:散裝
MTA8106EGRA 功能描述:SW TOGGLE SPDT RT ANG PC 6A RoHS:否 類別:開關(guān) >> 撥動開關(guān) 系列:MTA 綠 標(biāo)準(zhǔn)包裝:1 系列:A 電路:雙刀雙擲 開關(guān)功能:開-開-開 觸點(diǎn)額定電壓:6A @ 125VAC 觸動器類型:扁平型 觸動器長度:11.38mm 發(fā)光:不發(fā)光 安裝類型:面板安裝 端接類型:焊片 軸襯螺紋:1/4-40 包裝:散裝
MTA8106EGRA04 功能描述:SWITCH TOGGLE SPDT RT ANG PC 6A RoHS:是 類別:開關(guān) >> 撥動開關(guān) 系列:MTA 綠 標(biāo)準(zhǔn)包裝:1 系列:A 電路:雙刀雙擲 開關(guān)功能:開-開-開 觸點(diǎn)額定電壓:6A @ 125VAC 觸動器類型:扁平型 觸動器長度:11.38mm 發(fā)光:不發(fā)光 安裝類型:面板安裝 端接類型:焊片 軸襯螺紋:1/4-40 包裝:散裝