参数资料
型号: MTA81010-XTI/P
元件分类: 微控制器/微处理器
英文描述: 8-BIT, OTPROM, 4 MHz, RISC MICROCONTROLLER, PDIP28
封装: PLASTIC, DIP-28
文件页数: 17/76页
文件大小: 745K
代理商: MTA81010-XTI/P
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
相关PDF资料
PDF描述
MTA81010T-XT/SO 8-BIT, OTPROM, 4 MHz, RISC MICROCONTROLLER, PDSO28
MTA81010S-XTI/SO 8-BIT, OTPROM, 4 MHz, RISC MICROCONTROLLER, PDSO28
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
相关代理商/技术参数
参数描述
MTA8106DGVRA 功能描述:SW TOGGLE SPDT VERT RT ANG PC 6A RoHS:否 类别:开关 >> 拨动开关 系列:MTA 绿 标准包装:1 系列:A 电路:双刀双掷 开关功能:开-开-开 触点额定电压:6A @ 125VAC 触动器类型:扁平型 触动器长度:11.38mm 发光:不发光 安装类型:面板安装 端接类型:焊片 轴衬螺纹:1/4-40 包装:散装
MTA8106DVRA 功能描述:SWITCH TOGGLE SPDT VRA PC 6A RoHS:否 类别:开关 >> 拨动开关 系列:MTA 绿 标准包装:1 系列:A 电路:双刀双掷 开关功能:开-开-开 触点额定电压:6A @ 125VAC 触动器类型:扁平型 触动器长度:11.38mm 发光:不发光 安装类型:面板安装 端接类型:焊片 轴衬螺纹:1/4-40 包装:散装
MTA8106DVRA04 功能描述:SWITCH TOGGLE SPDT VRA PC 6A RoHS:是 类别:开关 >> 拨动开关 系列:MTA 绿 标准包装:1 系列:A 电路:双刀双掷 开关功能:开-开-开 触点额定电压:6A @ 125VAC 触动器类型:扁平型 触动器长度:11.38mm 发光:不发光 安装类型:面板安装 端接类型:焊片 轴衬螺纹:1/4-40 包装:散装
MTA8106EGRA 功能描述:SW TOGGLE SPDT RT ANG PC 6A RoHS:否 类别:开关 >> 拨动开关 系列:MTA 绿 标准包装:1 系列:A 电路:双刀双掷 开关功能:开-开-开 触点额定电压:6A @ 125VAC 触动器类型:扁平型 触动器长度:11.38mm 发光:不发光 安装类型:面板安装 端接类型:焊片 轴衬螺纹:1/4-40 包装:散装
MTA8106EGRA04 功能描述:SWITCH TOGGLE SPDT RT ANG PC 6A RoHS:是 类别:开关 >> 拨动开关 系列:MTA 绿 标准包装:1 系列:A 电路:双刀双掷 开关功能:开-开-开 触点额定电压:6A @ 125VAC 触动器类型:扁平型 触动器长度:11.38mm 发光:不发光 安装类型:面板安装 端接类型:焊片 轴衬螺纹:1/4-40 包装:散装